Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: few more name to id renames in test files #12700

Merged
merged 1 commit into from
Apr 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion e2e/__tests__/hasteMapMockChanged.test.ts
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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