Skip to content

Commit

Permalink
chore: standardize filenames in e2e/babel-plugin-jest-hoist (jestjs#7467
Browse files Browse the repository at this point in the history
)
  • Loading branch information
GGonryun authored and captain-yossarian committed Jul 18, 2019
1 parent da7d6b0 commit 858f95f
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
- `[*]` Add check for Facebook copyright headers on CI ([#7370](https://github.com/facebook/jest/pull/7370))
- `[jest-haste-map]` Refactor `dependencyExtractor` and tests ([#7385](https://github.com/facebook/jest/pull/7385))
- `[docs]` Clarify conditional setting of `NODE_ENV` ([#7369](https://github.com/facebook/jest/pull/7369))
- `[*]` Standardize file names ([#7316](https://github.com/facebook/jest/pull/7316), [#7266](https://github.com/facebook/jest/pull/7266), [#7238](https://github.com/facebook/jest/pull/7238), [#7314](https://github.com/facebook/jest/pull/7314))
- `[*]` Standardize file names ([#7316](https://github.com/facebook/jest/pull/7316), [#7266](https://github.com/facebook/jest/pull/7266), [#7238](https://github.com/facebook/jest/pull/7238), [#7314](https://github.com/facebook/jest/pull/7314), [#7467](https://github.com/facebook/jest/pull/7467))
- `[docs]` Add `testPathIgnorePatterns` in CLI documentation ([#7440](https://github.com/facebook/jest/pull/7440))

### Performance
Expand Down
6 changes: 3 additions & 3 deletions e2e/babel-plugin-jest-hoist/__tests__/integration.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import b from '../__test_modules__/b';
import c from '../__test_modules__/c';
import d from '../__test_modules__/d';
import e from '../__test_modules__/e';
import jestBackticks from '../__test_modules__/jest-backticks';
import jestBackticks from '../__test_modules__/jestBackticks';

// The virtual mock call below will be hoisted above this `require` call.
const virtualModule = require('virtual-module');
Expand All @@ -45,7 +45,7 @@ jest.mock('../__test_modules__/e', () => {
},
};
});
jest.mock(`../__test_modules__/jest-backticks`);
jest.mock(`../__test_modules__/jestBackticks`);
jest.mock('virtual-module', () => 'kiwi', {virtual: true});
// This has types that should be ignored by the out-of-scope variables check.
jest.mock('has-flow-types', () => (props: {children: mixed}) => 3, {
Expand Down Expand Up @@ -123,7 +123,7 @@ describe('babel-plugin-jest-hoist', () => {
});

it('requires modules that also call jest.mock', () => {
require('../mock-file');
require('../mockFile');
const mock = require('../banana');
expect(mock).toEqual('apple');
});
Expand Down
File renamed without changes.

0 comments on commit 858f95f

Please sign in to comment.