Skip to content

Commit

Permalink
fixing references
Browse files Browse the repository at this point in the history
  • Loading branch information
rotemmiz committed Mar 15, 2017
1 parent 8c393e2 commit 1715bd2
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions detox/src/Detox.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ describe('Detox', () => {
jest.mock('minimist');
minimist = require('minimist');
jest.mock('./ios/expect');
jest.mock('./client/client');
jest.mock('./devices/simulator');
jest.mock('./client/Client');
jest.mock('./devices/Simulator');
jest.mock('detox-server');
});

Expand Down
2 changes: 1 addition & 1 deletion detox/src/devices/Device.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ describe('Device', () => {
jest.mock('../utils/argparse');
argparse = require('../utils/argparse');

jest.mock('../client/client');
jest.mock('../client/Client');
Client = require('../client/Client');
Device = require('./Device');
device = new Device(new Client(), validScheme);
Expand Down
4 changes: 2 additions & 2 deletions detox/src/devices/Simulator.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe('Simulator', () => {

jest.mock('./Fbsimctl');

jest.mock('../client/client');
jest.mock('../client/Client');
Client = require('../client/Client');

Simulator = require('./Simulator');
Expand Down Expand Up @@ -120,7 +120,7 @@ describe('Simulator', () => {
expect(simulator._fbsimctl.uninstall).toHaveBeenCalledTimes(1);
});

it(`reloadReactNativeApp() should trigger client.reloadReactNative`, async() => {
it(`reloadReactNative() should trigger client.reloadReactNative`, async() => {
await simulator.reloadReactNative();
expect(simulator.client.reloadReactNative).toHaveBeenCalledTimes(1);
});
Expand Down
4 changes: 2 additions & 2 deletions detox/src/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ describe('index', () => {
let detox;
beforeEach(() => {
jest.mock('detox-server');
jest.mock('./devices/simulator');
jest.mock('./client/client');
jest.mock('./devices/Simulator');
jest.mock('./client/Client');
detox = require('./index');
});

Expand Down
2 changes: 1 addition & 1 deletion detox/src/invoke.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ describe('invoke', () => {
let Client;

beforeEach(() => {
jest.mock('./client/client');
jest.mock('./client/Client');
jest.mock('./invoke/Invoke');
Client = require('./client/Client');
});
Expand Down

0 comments on commit 1715bd2

Please sign in to comment.