Skip to content

Commit d4b36be

Browse files
authored
chore: few more name to id renames in test files (#12700)
1 parent d67f783 commit d4b36be

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

e2e/__tests__/hasteMapMockChanged.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ test('should not warn when a mock file changes', async () => {
2020
computeSha1: false,
2121
extensions: ['js', 'json', 'png'],
2222
forceNodeFilesystemAPI: false,
23+
id: `tmp_${Date.now()}`,
2324
ignorePattern: / ^/,
2425
maxWorkers: 2,
2526
mocksPattern: '__mocks__',
26-
name: `tmp_${Date.now()}`,
2727
platforms: [],
2828
retainAllFiles: false,
2929
rootDir: DIR,

e2e/__tests__/hasteMapSha1.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ test('exits the process after test are done but before timers complete', async (
3030
computeSha1: true,
3131
extensions: ['js', 'json', 'png'],
3232
forceNodeFilesystemAPI: true,
33+
id: 'tmp',
3334
ignorePattern: / ^/,
3435
maxWorkers: 2,
3536
mocksPattern: '',
36-
name: 'tmp',
3737
platforms: ['ios', 'android'],
3838
retainAllFiles: true,
3939
rootDir: DIR,

e2e/__tests__/hasteMapSize.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ afterEach(() => cleanup(DIR));
2424
const options = {
2525
extensions: ['js'],
2626
forceNodeFilesystemAPI: true,
27+
id: 'tmp',
2728
ignorePattern: / ^/,
2829
maxWorkers: 2,
2930
mocksPattern: '',
30-
name: 'tmp',
3131
platforms: [],
3232
retainAllFiles: true,
3333
rootDir: DIR,

packages/jest-haste-map/src/__tests__/includes_dotfiles.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ const commonOptions = {
2323
test('watchman crawler and node crawler both include dotfiles', async () => {
2424
const hasteMapWithWatchman = await HasteMap.create({
2525
...commonOptions,
26-
name: 'withWatchman',
26+
id: 'withWatchman',
2727
useWatchman: true,
2828
});
2929

3030
const hasteMapWithNode = await HasteMap.create({
3131
...commonOptions,
32-
name: 'withNode',
32+
id: 'withNode',
3333
useWatchman: false,
3434
});
3535

0 commit comments

Comments
 (0)