Commit 1c548850 authored by Martin Santangelo's avatar Martin Santangelo

(chore) fix spec test

parent ef0bcee5
No related merge requests found
......@@ -9,6 +9,7 @@ import HashtagStore from '../../src/common/stores/HashtagStore';
// Note: test renderer must be required after react-native.
import renderer from 'react-test-renderer';
import { Platform } from 'react-native';
jest.mock('../../src/common/stores/HashtagStore');
jest.mock('../../src/capture/CaptureStore');
......@@ -22,6 +23,8 @@ defaultState = {
lock: false
}
Platform.OS = 'android';
configure({enforceActions: 'never'});
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment