Skip to content

Commit

Permalink
chore: few more name to id renames in test files (#12700)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrazauskas committed Apr 20, 2022
1 parent d67f783 commit d4b36be
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion e2e/__tests__/hasteMapMockChanged.test.ts
Expand Up @@ -20,10 +20,10 @@ test('should not warn when a mock file changes', async () => {
computeSha1: false,
extensions: ['js', 'json', 'png'],
forceNodeFilesystemAPI: false,
id: `tmp_${Date.now()}`,
ignorePattern: / ^/,
maxWorkers: 2,
mocksPattern: '__mocks__',
name: `tmp_${Date.now()}`,
platforms: [],
retainAllFiles: false,
rootDir: DIR,
Expand Down
2 changes: 1 addition & 1 deletion e2e/__tests__/hasteMapSha1.test.ts
Expand Up @@ -30,10 +30,10 @@ test('exits the process after test are done but before timers complete', async (
computeSha1: true,
extensions: ['js', 'json', 'png'],
forceNodeFilesystemAPI: true,
id: 'tmp',
ignorePattern: / ^/,
maxWorkers: 2,
mocksPattern: '',
name: 'tmp',
platforms: ['ios', 'android'],
retainAllFiles: true,
rootDir: DIR,
Expand Down
2 changes: 1 addition & 1 deletion e2e/__tests__/hasteMapSize.test.ts
Expand Up @@ -24,10 +24,10 @@ afterEach(() => cleanup(DIR));
const options = {
extensions: ['js'],
forceNodeFilesystemAPI: true,
id: 'tmp',
ignorePattern: / ^/,
maxWorkers: 2,
mocksPattern: '',
name: 'tmp',
platforms: [],
retainAllFiles: true,
rootDir: DIR,
Expand Down
Expand Up @@ -23,13 +23,13 @@ const commonOptions = {
test('watchman crawler and node crawler both include dotfiles', async () => {
const hasteMapWithWatchman = await HasteMap.create({
...commonOptions,
name: 'withWatchman',
id: 'withWatchman',
useWatchman: true,
});

const hasteMapWithNode = await HasteMap.create({
...commonOptions,
name: 'withNode',
id: 'withNode',
useWatchman: false,
});

Expand Down

0 comments on commit d4b36be

Please sign in to comment.