diff --git a/CHANGELOG.md b/CHANGELOG.md index 37cf215683c9..1953f9889dd0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/e2e/babel-plugin-jest-hoist/__test_modules__/__mocks__/jest-backticks.js b/e2e/babel-plugin-jest-hoist/__test_modules__/__mocks__/jestBackticks.js similarity index 100% rename from e2e/babel-plugin-jest-hoist/__test_modules__/__mocks__/jest-backticks.js rename to e2e/babel-plugin-jest-hoist/__test_modules__/__mocks__/jestBackticks.js diff --git a/e2e/babel-plugin-jest-hoist/__test_modules__/jest-backticks.js b/e2e/babel-plugin-jest-hoist/__test_modules__/jestBackticks.js similarity index 100% rename from e2e/babel-plugin-jest-hoist/__test_modules__/jest-backticks.js rename to e2e/babel-plugin-jest-hoist/__test_modules__/jestBackticks.js diff --git a/e2e/babel-plugin-jest-hoist/__tests__/integration.test.js b/e2e/babel-plugin-jest-hoist/__tests__/integration.test.js index c825984639b3..12c241b7ad03 100644 --- a/e2e/babel-plugin-jest-hoist/__tests__/integration.test.js +++ b/e2e/babel-plugin-jest-hoist/__tests__/integration.test.js @@ -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'); @@ -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, { @@ -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'); }); diff --git a/e2e/babel-plugin-jest-hoist/mock-file.js b/e2e/babel-plugin-jest-hoist/mockFile.js similarity index 100% rename from e2e/babel-plugin-jest-hoist/mock-file.js rename to e2e/babel-plugin-jest-hoist/mockFile.js