diff --git a/crates/oxc_resolver/tests/enhanced_resolve/lib/index.js b/crates/oxc_resolver/fixtures/enhanced_resolve/lib/index.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/lib/index.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/lib/index.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/package.json b/crates/oxc_resolver/fixtures/enhanced_resolve/package.json similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/package.json rename to crates/oxc_resolver/fixtures/enhanced_resolve/package.json diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/.gitignore b/crates/oxc_resolver/fixtures/enhanced_resolve/test/.gitignore similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/.gitignore rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/.gitignore diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/a.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/a.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/a.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/a.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/abc.txt b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/abc.txt similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/abc.txt rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/abc.txt diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/b.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/b.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/b.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/b.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/browser-module/browser/module-a.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/browser-module/browser/module-a.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/browser-module/browser/module-a.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/browser-module/browser/module-a.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/browser-module/lib/browser.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/browser-module/lib/browser.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/browser-module/lib/browser.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/browser-module/lib/browser.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/browser-module/lib/ignore.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/browser-module/lib/ignore.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/browser-module/lib/ignore.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/browser-module/lib/ignore.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/browser-module/lib/main.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/browser-module/lib/main.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/browser-module/lib/main.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/browser-module/lib/main.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/browser-module/lib/replaced.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/browser-module/lib/replaced.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/browser-module/lib/replaced.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/browser-module/lib/replaced.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/browser-module/lib/toString.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/browser-module/lib/toString.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/browser-module/lib/toString.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/browser-module/lib/toString.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/browser-module/node_modules/module-a.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/browser-module/node_modules/module-a.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/browser-module/node_modules/module-a.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/browser-module/node_modules/module-a.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/browser-module/node_modules/module-b.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/browser-module/node_modules/module-b.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/browser-module/node_modules/module-b.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/browser-module/node_modules/module-b.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/browser-module/node_modules/module-c.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/browser-module/node_modules/module-c.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/browser-module/node_modules/module-c.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/browser-module/node_modules/module-c.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/browser-module/package.json b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/browser-module/package.json similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/browser-module/package.json rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/browser-module/package.json diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/c.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/c.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/c.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/c.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/complex.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/complex.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/complex.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/complex.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/crypto-js/index.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/crypto-js/index.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/crypto-js/index.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/crypto-js/index.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/crypto-js/package.json b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/crypto-js/package.json similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/crypto-js/package.json rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/crypto-js/package.json diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/decorated-fs/exists.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/decorated-fs/exists.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/decorated-fs/exists.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/decorated-fs/exists.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/dirOrFile.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/dirOrFile.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/dirOrFile.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/dirOrFile.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/dirOrFile/index.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/dirOrFile/index.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/dirOrFile/index.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/dirOrFile/index.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/directory-default/directory-default.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/directory-default/directory-default.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/directory-default/directory-default.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/directory-default/directory-default.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field-and-extension-alias/node_modules/@org/pkg/dist/string.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field-and-extension-alias/node_modules/@org/pkg/dist/string.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field-and-extension-alias/node_modules/@org/pkg/dist/string.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field-and-extension-alias/node_modules/@org/pkg/dist/string.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field-and-extension-alias/node_modules/@org/pkg/dist/string.test.d.ts b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field-and-extension-alias/node_modules/@org/pkg/dist/string.test.d.ts similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field-and-extension-alias/node_modules/@org/pkg/dist/string.test.d.ts rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field-and-extension-alias/node_modules/@org/pkg/dist/string.test.d.ts diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field-and-extension-alias/node_modules/@org/pkg/package.json b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field-and-extension-alias/node_modules/@org/pkg/package.json similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field-and-extension-alias/node_modules/@org/pkg/package.json rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field-and-extension-alias/node_modules/@org/pkg/package.json diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field-and-extension-alias/node_modules/pkg/dist/string.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field-and-extension-alias/node_modules/pkg/dist/string.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field-and-extension-alias/node_modules/pkg/dist/string.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field-and-extension-alias/node_modules/pkg/dist/string.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field-and-extension-alias/node_modules/pkg/dist/string.test.d.ts b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field-and-extension-alias/node_modules/pkg/dist/string.test.d.ts similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field-and-extension-alias/node_modules/pkg/dist/string.test.d.ts rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field-and-extension-alias/node_modules/pkg/dist/string.test.d.ts diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field-and-extension-alias/node_modules/pkg/package.json b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field-and-extension-alias/node_modules/pkg/package.json similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field-and-extension-alias/node_modules/pkg/package.json rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field-and-extension-alias/node_modules/pkg/package.json diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field-error/node_modules/exports-field/package.json b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field-error/node_modules/exports-field/package.json similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field-error/node_modules/exports-field/package.json rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field-error/node_modules/exports-field/package.json diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field-error/node_modules/pack1/index.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field-error/node_modules/pack1/index.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field-error/node_modules/pack1/index.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field-error/node_modules/pack1/index.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field/a.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field/a.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field/a.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field/a.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field/node_modules/exports-field/lib/browser.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field/node_modules/exports-field/lib/browser.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field/node_modules/exports-field/lib/browser.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field/node_modules/exports-field/lib/browser.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field/node_modules/exports-field/lib/index.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field/node_modules/exports-field/lib/index.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field/node_modules/exports-field/lib/index.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field/node_modules/exports-field/lib/index.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field/node_modules/exports-field/lib/lib2/main.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field/node_modules/exports-field/lib/lib2/main.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field/node_modules/exports-field/lib/lib2/main.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field/node_modules/exports-field/lib/lib2/main.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field/node_modules/exports-field/lib/main.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field/node_modules/exports-field/lib/main.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field/node_modules/exports-field/lib/main.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field/node_modules/exports-field/lib/main.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field/node_modules/exports-field/main.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field/node_modules/exports-field/main.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field/node_modules/exports-field/main.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field/node_modules/exports-field/main.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field/node_modules/exports-field/package.json b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field/node_modules/exports-field/package.json similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field/node_modules/exports-field/package.json rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field/node_modules/exports-field/package.json diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field/node_modules/exports-field/x.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field/node_modules/exports-field/x.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field/node_modules/exports-field/x.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field/node_modules/exports-field/x.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field/node_modules/invalid-exports-field/index.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field/node_modules/invalid-exports-field/index.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field/node_modules/invalid-exports-field/index.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field/node_modules/invalid-exports-field/index.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field/node_modules/invalid-exports-field/package.json b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field/node_modules/invalid-exports-field/package.json similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field/node_modules/invalid-exports-field/package.json rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field/node_modules/invalid-exports-field/package.json diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field/node_modules/invalid-exports-field/umd.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field/node_modules/invalid-exports-field/umd.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field/node_modules/invalid-exports-field/umd.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field/node_modules/invalid-exports-field/umd.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field/package.json b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field/package.json similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field/package.json rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field/package.json diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field2/node_modules/exports-field/index.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field2/node_modules/exports-field/index.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field2/node_modules/exports-field/index.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field2/node_modules/exports-field/index.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field2/node_modules/exports-field/lib/browser.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field2/node_modules/exports-field/lib/browser.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field2/node_modules/exports-field/lib/browser.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field2/node_modules/exports-field/lib/browser.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field2/node_modules/exports-field/lib/lib2/main.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field2/node_modules/exports-field/lib/lib2/main.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field2/node_modules/exports-field/lib/lib2/main.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field2/node_modules/exports-field/lib/lib2/main.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field2/node_modules/exports-field/lib/main.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field2/node_modules/exports-field/lib/main.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field2/node_modules/exports-field/lib/main.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field2/node_modules/exports-field/lib/main.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field2/node_modules/exports-field/main.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field2/node_modules/exports-field/main.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field2/node_modules/exports-field/main.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field2/node_modules/exports-field/main.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field2/node_modules/exports-field/package.json b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field2/node_modules/exports-field/package.json similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field2/node_modules/exports-field/package.json rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field2/node_modules/exports-field/package.json diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field3/node_modules/exports-field/index b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field3/node_modules/exports-field/index similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field3/node_modules/exports-field/index rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field3/node_modules/exports-field/index diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field3/node_modules/exports-field/main.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field3/node_modules/exports-field/main.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field3/node_modules/exports-field/main.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field3/node_modules/exports-field/main.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field3/node_modules/exports-field/package.json b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field3/node_modules/exports-field/package.json similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field3/node_modules/exports-field/package.json rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field3/node_modules/exports-field/package.json diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field3/node_modules/exports-field/src/index.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field3/node_modules/exports-field/src/index.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/exports-field3/node_modules/exports-field/src/index.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/exports-field3/node_modules/exports-field/src/index.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/extension-alias/dir/index.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/extension-alias/dir/index.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/extension-alias/dir/index.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/extension-alias/dir/index.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/extension-alias/dir/index.ts b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/extension-alias/dir/index.ts similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/extension-alias/dir/index.ts rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/extension-alias/dir/index.ts diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/extension-alias/dir2/index.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/extension-alias/dir2/index.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/extension-alias/dir2/index.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/extension-alias/dir2/index.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/extension-alias/dir2/index.mts b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/extension-alias/dir2/index.mts similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/extension-alias/dir2/index.mts rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/extension-alias/dir2/index.mts diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/extension-alias/index.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/extension-alias/index.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/extension-alias/index.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/extension-alias/index.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/extension-alias/index.mjs b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/extension-alias/index.mjs similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/extension-alias/index.mjs rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/extension-alias/index.mjs diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/extension-alias/index.mts.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/extension-alias/index.mts.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/extension-alias/index.mts.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/extension-alias/index.mts.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/extension-alias/index.ts b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/extension-alias/index.ts similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/extension-alias/index.ts rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/extension-alias/index.ts diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/extensions/app.module.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/extensions/app.module.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/extensions/app.module.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/extensions/app.module.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/extensions/dir/index.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/extensions/dir/index.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/extensions/dir/index.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/extensions/dir/index.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/extensions/dir/index.ts b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/extensions/dir/index.ts similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/extensions/dir/index.ts rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/extensions/dir/index.ts diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/extensions/foo.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/extensions/foo.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/extensions/foo.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/extensions/foo.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/extensions/foo.ts b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/extensions/foo.ts similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/extensions/foo.ts rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/extensions/foo.ts diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/extensions/index.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/extensions/index.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/extensions/index.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/extensions/index.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/extensions/index.ts b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/extensions/index.ts similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/extensions/index.ts rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/extensions/index.ts diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/extensions/node_modules/module.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/extensions/node_modules/module.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/extensions/node_modules/module.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/extensions/node_modules/module.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/extensions/node_modules/module/index.ts b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/extensions/node_modules/module/index.ts similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/extensions/node_modules/module/index.ts rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/extensions/node_modules/module/index.ts diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/extensions/package.json b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/extensions/package.json similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/extensions/package.json rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/extensions/package.json diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/file.load1 b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/file.load1 similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/file.load1 rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/file.load1 diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/file.load2 b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/file.load2 similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/file.load2 rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/file.load2 diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/foo/index.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/foo/index.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/foo/index.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/foo/index.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/foo/package.json b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/foo/package.json similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/foo/package.json rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/foo/package.json diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/package.json b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/package.json similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/package.json rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/package.json diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/features/f.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/features/f.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/features/f.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/features/f.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/features/internal/file.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/features/internal/file.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/features/internal/file.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/features/internal/file.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/features/y/y.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/features/y/y.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/features/y/y.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/features/y/y.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/internal/i.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/internal/i.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/internal/i.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/internal/i.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/middle-1/f.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/middle-1/f.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/middle-1/f.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/middle-1/f.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/middle-1/nested/f.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/middle-1/nested/f.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/middle-1/nested/f.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/middle-1/nested/f.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/middle-2/nested/f.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/middle-2/nested/f.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/middle-2/nested/f.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/middle-2/nested/f.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/middle-3/nested/f/nested/f.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/middle-3/nested/f/nested/f.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/middle-3/nested/f/nested/f.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/middle-3/nested/f/nested/f.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/middle-4/f/f.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/middle-4/f/f.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/middle-4/f/f.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/middle-4/f/f.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/middle-5/f$/$.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/middle-5/f$/$.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/middle-5/f$/$.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/middle-5/f$/$.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/middle-5/f/$.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/middle-5/f/$.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/middle-5/f/$.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/middle-5/f/$.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/middle/f.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/middle/f.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/middle/f.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/middle/f.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/middle/nested/f.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/middle/nested/f.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/middle/nested/f.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-exports-wildcard/node_modules/m/src/middle/nested/f.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-field/a.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-field/a.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-field/a.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-field/a.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-field/b.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-field/b.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-field/b.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-field/b.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-field/dir/b.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-field/dir/b.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-field/dir/b.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-field/dir/b.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-field/node_modules/a/lib/browser.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-field/node_modules/a/lib/browser.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-field/node_modules/a/lib/browser.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-field/node_modules/a/lib/browser.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-field/node_modules/a/lib/index.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-field/node_modules/a/lib/index.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-field/node_modules/a/lib/index.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-field/node_modules/a/lib/index.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-field/node_modules/a/lib/lib2/main.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-field/node_modules/a/lib/lib2/main.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-field/node_modules/a/lib/lib2/main.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-field/node_modules/a/lib/lib2/main.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-field/node_modules/a/lib/main.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-field/node_modules/a/lib/main.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-field/node_modules/a/lib/main.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-field/node_modules/a/lib/main.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-field/node_modules/a/main.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-field/node_modules/a/main.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-field/node_modules/a/main.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-field/node_modules/a/main.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-field/node_modules/a/package.json b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-field/node_modules/a/package.json similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-field/node_modules/a/package.json rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-field/node_modules/a/package.json diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-field/node_modules/a/x.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-field/node_modules/a/x.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-field/node_modules/a/x.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-field/node_modules/a/x.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-field/node_modules/c/index.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-field/node_modules/c/index.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-field/node_modules/c/index.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-field/node_modules/c/index.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-field/package.json b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-field/package.json similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/imports-field/package.json rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/imports-field/package.json diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/incorrect-package/pack1/a.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/incorrect-package/pack1/a.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/incorrect-package/pack1/a.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/incorrect-package/pack1/a.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/incorrect-package/pack1/package.json b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/incorrect-package/pack1/package.json similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/incorrect-package/pack1/package.json rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/incorrect-package/pack1/package.json diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/incorrect-package/pack2/a.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/incorrect-package/pack2/a.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/incorrect-package/pack2/a.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/incorrect-package/pack2/a.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/incorrect-package/pack2/package.json b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/incorrect-package/pack2/package.json similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/incorrect-package/pack2/package.json rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/incorrect-package/pack2/package.json diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/issue-238/package.json b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/issue-238/package.json similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/issue-238/package.json rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/issue-238/package.json diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/issue-238/src/a/config.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/issue-238/src/a/config.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/issue-238/src/a/config.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/issue-238/src/a/config.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/issue-238/src/common/config/myObjectFile.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/issue-238/src/common/config/myObjectFile.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/issue-238/src/common/config/myObjectFile.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/issue-238/src/common/config/myObjectFile.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/lib.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/lib.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/lib.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/lib.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/lib/complex1.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/lib/complex1.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/lib/complex1.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/lib/complex1.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/main-field-self/index.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/main-field-self/index.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/main-field-self/index.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/main-field-self/index.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/main-field-self/package.json b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/main-field-self/package.json similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/main-field-self/package.json rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/main-field-self/package.json diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/main-field-self2/index.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/main-field-self2/index.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/main-field-self2/index.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/main-field-self2/index.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/main-field-self2/package.json b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/main-field-self2/package.json similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/main-field-self2/package.json rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/main-field-self2/package.json diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/main1.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/main1.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/main1.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/main1.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/main2.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/main2.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/main2.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/main2.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/main3.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/main3.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/main3.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/main3.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/multiple_modules/node_modules/m1/a.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/multiple_modules/node_modules/m1/a.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/multiple_modules/node_modules/m1/a.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/multiple_modules/node_modules/m1/a.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/no#fragment/#/#.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/no#fragment/#/#.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/no#fragment/#/#.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/no#fragment/#/#.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/no.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/no.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/no.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/no.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/node_modules/browser-module-broken/browser.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/node_modules/browser-module-broken/browser.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/node_modules/browser-module-broken/browser.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/node_modules/browser-module-broken/browser.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/node_modules/browser-module-broken/main.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/node_modules/browser-module-broken/main.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/node_modules/browser-module-broken/main.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/node_modules/browser-module-broken/main.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/node_modules/browser-module-broken/package.json b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/node_modules/browser-module-broken/package.json similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/node_modules/browser-module-broken/package.json rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/node_modules/browser-module-broken/package.json diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/node_modules/complexm/node_modules/m1/a.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/node_modules/complexm/node_modules/m1/a.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/node_modules/complexm/node_modules/m1/a.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/node_modules/complexm/node_modules/m1/a.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/node_modules/complexm/node_modules/m1/index.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/node_modules/complexm/node_modules/m1/index.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/node_modules/complexm/node_modules/m1/index.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/node_modules/complexm/node_modules/m1/index.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/node_modules/complexm/step1.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/node_modules/complexm/step1.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/node_modules/complexm/step1.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/node_modules/complexm/step1.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/node_modules/complexm/step2.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/node_modules/complexm/step2.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/node_modules/complexm/step2.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/node_modules/complexm/step2.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/node_modules/dash-name/index.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/node_modules/dash-name/index.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/node_modules/dash-name/index.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/node_modules/dash-name/index.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/node_modules/dash-name/package.json b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/node_modules/dash-name/package.json similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/node_modules/dash-name/package.json rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/node_modules/dash-name/package.json diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/node_modules/dash/index.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/node_modules/dash/index.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/node_modules/dash/index.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/node_modules/dash/index.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/node_modules/dash/package.json b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/node_modules/dash/package.json similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/node_modules/dash/package.json rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/node_modules/dash/package.json diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/node_modules/invalidPackageJson/package.json b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/node_modules/invalidPackageJson/package.json similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/node_modules/invalidPackageJson/package.json rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/node_modules/invalidPackageJson/package.json diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/node_modules/m1/a.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/node_modules/m1/a.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/node_modules/m1/a.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/node_modules/m1/a.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/node_modules/m1/b.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/node_modules/m1/b.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/node_modules/m1/b.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/node_modules/m1/b.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/node_modules/m2/b.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/node_modules/m2/b.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/node_modules/m2/b.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/node_modules/m2/b.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/node_modules/recursive-module/file.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/node_modules/recursive-module/file.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/node_modules/recursive-module/file.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/node_modules/recursive-module/file.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/node_modules/recursive-module/index.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/node_modules/recursive-module/index.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/node_modules/recursive-module/index.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/node_modules/recursive-module/index.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/pnp-a/m2/a.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/pnp-a/m2/a.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/pnp-a/m2/a.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/pnp-a/m2/a.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/pnp/pkg/dir/index.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/pnp/pkg/dir/index.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/pnp/pkg/dir/index.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/pnp/pkg/dir/index.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/pnp/pkg/index.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/pnp/pkg/index.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/pnp/pkg/index.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/pnp/pkg/index.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/pnp/pkg/main.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/pnp/pkg/main.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/pnp/pkg/main.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/pnp/pkg/main.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/pnp/pkg/package-alias/browser.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/pnp/pkg/package-alias/browser.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/pnp/pkg/package-alias/browser.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/pnp/pkg/package-alias/browser.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/pnp/pkg/package-alias/index.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/pnp/pkg/package-alias/index.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/pnp/pkg/package-alias/index.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/pnp/pkg/package-alias/index.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/pnp/pkg/package.json b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/pnp/pkg/package.json similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/pnp/pkg/package.json rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/pnp/pkg/package.json diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/pnp/pkg/typescript/index.ts b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/pnp/pkg/typescript/index.ts similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/pnp/pkg/typescript/index.ts rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/pnp/pkg/typescript/index.ts diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/pnp/pkg3/a.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/pnp/pkg3/a.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/pnp/pkg3/a.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/pnp/pkg3/a.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/pnp/pkg3/package.json b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/pnp/pkg3/package.json similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/pnp/pkg3/package.json rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/pnp/pkg3/package.json diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/prefer-pnp/alternative-modules/m1/b.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/prefer-pnp/alternative-modules/m1/b.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/prefer-pnp/alternative-modules/m1/b.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/prefer-pnp/alternative-modules/m1/b.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/restrictions/node_modules/pck1/index.css b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/restrictions/node_modules/pck1/index.css similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/restrictions/node_modules/pck1/index.css rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/restrictions/node_modules/pck1/index.css diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/restrictions/node_modules/pck1/index.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/restrictions/node_modules/pck1/index.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/restrictions/node_modules/pck1/index.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/restrictions/node_modules/pck1/index.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/restrictions/node_modules/pck1/package.json b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/restrictions/node_modules/pck1/package.json similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/restrictions/node_modules/pck1/package.json rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/restrictions/node_modules/pck1/package.json diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/restrictions/node_modules/pck2/index.css b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/restrictions/node_modules/pck2/index.css similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/restrictions/node_modules/pck2/index.css rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/restrictions/node_modules/pck2/index.css diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/restrictions/node_modules/pck2/module.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/restrictions/node_modules/pck2/module.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/restrictions/node_modules/pck2/module.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/restrictions/node_modules/pck2/module.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/restrictions/node_modules/pck2/package.json b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/restrictions/node_modules/pck2/package.json similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/restrictions/node_modules/pck2/package.json rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/restrictions/node_modules/pck2/package.json diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/scoped/node_modules/@scope/pack1/main.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/scoped/node_modules/@scope/pack1/main.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/scoped/node_modules/@scope/pack1/main.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/scoped/node_modules/@scope/pack1/main.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/scoped/node_modules/@scope/pack1/package.json b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/scoped/node_modules/@scope/pack1/package.json similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/scoped/node_modules/@scope/pack1/package.json rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/scoped/node_modules/@scope/pack1/package.json diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/scoped/node_modules/@scope/pack2/lib/index.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/scoped/node_modules/@scope/pack2/lib/index.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/scoped/node_modules/@scope/pack2/lib/index.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/scoped/node_modules/@scope/pack2/lib/index.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/scoped/node_modules/@scope/pack2/main.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/scoped/node_modules/@scope/pack2/main.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/scoped/node_modules/@scope/pack2/main.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/scoped/node_modules/@scope/pack2/main.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/scoped/node_modules/@scope/pack2/package.json b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/scoped/node_modules/@scope/pack2/package.json similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/scoped/node_modules/@scope/pack2/package.json rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/scoped/node_modules/@scope/pack2/package.json diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/shortcutdir.js/a.js b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/shortcutdir.js/a.js similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/shortcutdir.js/a.js rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/shortcutdir.js/a.js diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/yield/a/foo-2/b b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/yield/a/foo-2/b similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/yield/a/foo-2/b rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/yield/a/foo-2/b diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/yield/a/foo-2/c b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/yield/a/foo-2/c similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/yield/a/foo-2/c rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/yield/a/foo-2/c diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/yield/a/foo/a b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/yield/a/foo/a similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/yield/a/foo/a rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/yield/a/foo/a diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/yield/a/foo/b b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/yield/a/foo/b similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/yield/a/foo/b rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/yield/a/foo/b diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/yield/b/foo/a b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/yield/b/foo/a similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/yield/b/foo/a rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/yield/b/foo/a diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/yield/c/foo/a b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/yield/c/foo/a similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/yield/c/foo/a rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/yield/c/foo/a diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/yield/c/foo/package.json b/crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/yield/c/foo/package.json similarity index 100% rename from crates/oxc_resolver/tests/enhanced_resolve/test/fixtures/yield/c/foo/package.json rename to crates/oxc_resolver/fixtures/enhanced_resolve/test/fixtures/yield/c/foo/package.json diff --git a/crates/oxc_resolver/tests/parcel/foo.js b/crates/oxc_resolver/fixtures/parcel/foo.js similarity index 100% rename from crates/oxc_resolver/tests/parcel/foo.js rename to crates/oxc_resolver/fixtures/parcel/foo.js diff --git a/crates/oxc_resolver/tests/parcel/nested/index.js b/crates/oxc_resolver/fixtures/parcel/nested/index.js similarity index 100% rename from crates/oxc_resolver/tests/parcel/nested/index.js rename to crates/oxc_resolver/fixtures/parcel/nested/index.js diff --git a/crates/oxc_resolver/tests/parcel/nested/test.js b/crates/oxc_resolver/fixtures/parcel/nested/test.js similarity index 100% rename from crates/oxc_resolver/tests/parcel/nested/test.js rename to crates/oxc_resolver/fixtures/parcel/nested/test.js diff --git a/crates/oxc_resolver/tests/parcel/nested/tsconfig.json b/crates/oxc_resolver/fixtures/parcel/nested/tsconfig.json similarity index 100% rename from crates/oxc_resolver/tests/parcel/nested/tsconfig.json rename to crates/oxc_resolver/fixtures/parcel/nested/tsconfig.json diff --git a/crates/oxc_resolver/tests/parcel/node_modules/tsconfig-exports/conf.json b/crates/oxc_resolver/fixtures/parcel/node_modules/tsconfig-exports/conf.json similarity index 100% rename from crates/oxc_resolver/tests/parcel/node_modules/tsconfig-exports/conf.json rename to crates/oxc_resolver/fixtures/parcel/node_modules/tsconfig-exports/conf.json diff --git a/crates/oxc_resolver/tests/parcel/node_modules/tsconfig-exports/foo.js b/crates/oxc_resolver/fixtures/parcel/node_modules/tsconfig-exports/foo.js similarity index 100% rename from crates/oxc_resolver/tests/parcel/node_modules/tsconfig-exports/foo.js rename to crates/oxc_resolver/fixtures/parcel/node_modules/tsconfig-exports/foo.js diff --git a/crates/oxc_resolver/tests/parcel/node_modules/tsconfig-exports/package.json b/crates/oxc_resolver/fixtures/parcel/node_modules/tsconfig-exports/package.json similarity index 100% rename from crates/oxc_resolver/tests/parcel/node_modules/tsconfig-exports/package.json rename to crates/oxc_resolver/fixtures/parcel/node_modules/tsconfig-exports/package.json diff --git a/crates/oxc_resolver/tests/parcel/node_modules/tsconfig-field/conf.json b/crates/oxc_resolver/fixtures/parcel/node_modules/tsconfig-field/conf.json similarity index 100% rename from crates/oxc_resolver/tests/parcel/node_modules/tsconfig-field/conf.json rename to crates/oxc_resolver/fixtures/parcel/node_modules/tsconfig-field/conf.json diff --git a/crates/oxc_resolver/tests/parcel/node_modules/tsconfig-field/foo.js b/crates/oxc_resolver/fixtures/parcel/node_modules/tsconfig-field/foo.js similarity index 100% rename from crates/oxc_resolver/tests/parcel/node_modules/tsconfig-field/foo.js rename to crates/oxc_resolver/fixtures/parcel/node_modules/tsconfig-field/foo.js diff --git a/crates/oxc_resolver/tests/parcel/node_modules/tsconfig-field/package.json b/crates/oxc_resolver/fixtures/parcel/node_modules/tsconfig-field/package.json similarity index 100% rename from crates/oxc_resolver/tests/parcel/node_modules/tsconfig-field/package.json rename to crates/oxc_resolver/fixtures/parcel/node_modules/tsconfig-field/package.json diff --git a/crates/oxc_resolver/tests/parcel/node_modules/tsconfig-index/foo.js b/crates/oxc_resolver/fixtures/parcel/node_modules/tsconfig-index/foo.js similarity index 100% rename from crates/oxc_resolver/tests/parcel/node_modules/tsconfig-index/foo.js rename to crates/oxc_resolver/fixtures/parcel/node_modules/tsconfig-index/foo.js diff --git a/crates/oxc_resolver/tests/parcel/node_modules/tsconfig-index/package.json b/crates/oxc_resolver/fixtures/parcel/node_modules/tsconfig-index/package.json similarity index 100% rename from crates/oxc_resolver/tests/parcel/node_modules/tsconfig-index/package.json rename to crates/oxc_resolver/fixtures/parcel/node_modules/tsconfig-index/package.json diff --git a/crates/oxc_resolver/tests/parcel/node_modules/tsconfig-index/tsconfig.json b/crates/oxc_resolver/fixtures/parcel/node_modules/tsconfig-index/tsconfig.json similarity index 100% rename from crates/oxc_resolver/tests/parcel/node_modules/tsconfig-index/tsconfig.json rename to crates/oxc_resolver/fixtures/parcel/node_modules/tsconfig-index/tsconfig.json diff --git a/crates/oxc_resolver/tests/parcel/node_modules/tsconfig-not-used/foo.js b/crates/oxc_resolver/fixtures/parcel/node_modules/tsconfig-not-used/foo.js similarity index 100% rename from crates/oxc_resolver/tests/parcel/node_modules/tsconfig-not-used/foo.js rename to crates/oxc_resolver/fixtures/parcel/node_modules/tsconfig-not-used/foo.js diff --git a/crates/oxc_resolver/tests/parcel/node_modules/tsconfig-not-used/tsconfig.json b/crates/oxc_resolver/fixtures/parcel/node_modules/tsconfig-not-used/tsconfig.json similarity index 100% rename from crates/oxc_resolver/tests/parcel/node_modules/tsconfig-not-used/tsconfig.json rename to crates/oxc_resolver/fixtures/parcel/node_modules/tsconfig-not-used/tsconfig.json diff --git a/crates/oxc_resolver/tests/parcel/package.json b/crates/oxc_resolver/fixtures/parcel/package.json similarity index 100% rename from crates/oxc_resolver/tests/parcel/package.json rename to crates/oxc_resolver/fixtures/parcel/package.json diff --git a/crates/oxc_resolver/tests/parcel/tsconfig.json b/crates/oxc_resolver/fixtures/parcel/tsconfig.json similarity index 100% rename from crates/oxc_resolver/tests/parcel/tsconfig.json rename to crates/oxc_resolver/fixtures/parcel/tsconfig.json diff --git a/crates/oxc_resolver/tests/parcel/tsconfig/builtins/thing.js b/crates/oxc_resolver/fixtures/parcel/tsconfig/builtins/thing.js similarity index 100% rename from crates/oxc_resolver/tests/parcel/tsconfig/builtins/thing.js rename to crates/oxc_resolver/fixtures/parcel/tsconfig/builtins/thing.js diff --git a/crates/oxc_resolver/tests/parcel/tsconfig/builtins/tsconfig.json b/crates/oxc_resolver/fixtures/parcel/tsconfig/builtins/tsconfig.json similarity index 100% rename from crates/oxc_resolver/tests/parcel/tsconfig/builtins/tsconfig.json rename to crates/oxc_resolver/fixtures/parcel/tsconfig/builtins/tsconfig.json diff --git a/crates/oxc_resolver/tests/parcel/tsconfig/exports/index.js b/crates/oxc_resolver/fixtures/parcel/tsconfig/exports/index.js similarity index 100% rename from crates/oxc_resolver/tests/parcel/tsconfig/exports/index.js rename to crates/oxc_resolver/fixtures/parcel/tsconfig/exports/index.js diff --git a/crates/oxc_resolver/tests/parcel/tsconfig/exports/tsconfig.json b/crates/oxc_resolver/fixtures/parcel/tsconfig/exports/tsconfig.json similarity index 100% rename from crates/oxc_resolver/tests/parcel/tsconfig/exports/tsconfig.json rename to crates/oxc_resolver/fixtures/parcel/tsconfig/exports/tsconfig.json diff --git a/crates/oxc_resolver/tests/parcel/tsconfig/extends-extension/base-tsconfig.json b/crates/oxc_resolver/fixtures/parcel/tsconfig/extends-extension/base-tsconfig.json similarity index 100% rename from crates/oxc_resolver/tests/parcel/tsconfig/extends-extension/base-tsconfig.json rename to crates/oxc_resolver/fixtures/parcel/tsconfig/extends-extension/base-tsconfig.json diff --git a/crates/oxc_resolver/tests/parcel/tsconfig/extends-extension/foo.js b/crates/oxc_resolver/fixtures/parcel/tsconfig/extends-extension/foo.js similarity index 100% rename from crates/oxc_resolver/tests/parcel/tsconfig/extends-extension/foo.js rename to crates/oxc_resolver/fixtures/parcel/tsconfig/extends-extension/foo.js diff --git a/crates/oxc_resolver/tests/parcel/tsconfig/extends-extension/tsconfig.json b/crates/oxc_resolver/fixtures/parcel/tsconfig/extends-extension/tsconfig.json similarity index 100% rename from crates/oxc_resolver/tests/parcel/tsconfig/extends-extension/tsconfig.json rename to crates/oxc_resolver/fixtures/parcel/tsconfig/extends-extension/tsconfig.json diff --git a/crates/oxc_resolver/tests/parcel/tsconfig/extends-not-found/index.js b/crates/oxc_resolver/fixtures/parcel/tsconfig/extends-not-found/index.js similarity index 100% rename from crates/oxc_resolver/tests/parcel/tsconfig/extends-not-found/index.js rename to crates/oxc_resolver/fixtures/parcel/tsconfig/extends-not-found/index.js diff --git a/crates/oxc_resolver/tests/parcel/tsconfig/extends-not-found/tsconfig.json b/crates/oxc_resolver/fixtures/parcel/tsconfig/extends-not-found/tsconfig.json similarity index 100% rename from crates/oxc_resolver/tests/parcel/tsconfig/extends-not-found/tsconfig.json rename to crates/oxc_resolver/fixtures/parcel/tsconfig/extends-not-found/tsconfig.json diff --git a/crates/oxc_resolver/tests/parcel/tsconfig/field/index.js b/crates/oxc_resolver/fixtures/parcel/tsconfig/field/index.js similarity index 100% rename from crates/oxc_resolver/tests/parcel/tsconfig/field/index.js rename to crates/oxc_resolver/fixtures/parcel/tsconfig/field/index.js diff --git a/crates/oxc_resolver/tests/parcel/tsconfig/field/tsconfig.json b/crates/oxc_resolver/fixtures/parcel/tsconfig/field/tsconfig.json similarity index 100% rename from crates/oxc_resolver/tests/parcel/tsconfig/field/tsconfig.json rename to crates/oxc_resolver/fixtures/parcel/tsconfig/field/tsconfig.json diff --git a/crates/oxc_resolver/tests/parcel/tsconfig/index/index.js b/crates/oxc_resolver/fixtures/parcel/tsconfig/index/index.js similarity index 100% rename from crates/oxc_resolver/tests/parcel/tsconfig/index/index.js rename to crates/oxc_resolver/fixtures/parcel/tsconfig/index/index.js diff --git a/crates/oxc_resolver/tests/parcel/tsconfig/index/tsconfig.json b/crates/oxc_resolver/fixtures/parcel/tsconfig/index/tsconfig.json similarity index 100% rename from crates/oxc_resolver/tests/parcel/tsconfig/index/tsconfig.json rename to crates/oxc_resolver/fixtures/parcel/tsconfig/index/tsconfig.json diff --git a/crates/oxc_resolver/tests/parcel/tsconfig/suffixes/a.ios.ts b/crates/oxc_resolver/fixtures/parcel/tsconfig/suffixes/a.ios.ts similarity index 100% rename from crates/oxc_resolver/tests/parcel/tsconfig/suffixes/a.ios.ts rename to crates/oxc_resolver/fixtures/parcel/tsconfig/suffixes/a.ios.ts diff --git a/crates/oxc_resolver/tests/parcel/tsconfig/suffixes/a.ts b/crates/oxc_resolver/fixtures/parcel/tsconfig/suffixes/a.ts similarity index 100% rename from crates/oxc_resolver/tests/parcel/tsconfig/suffixes/a.ts rename to crates/oxc_resolver/fixtures/parcel/tsconfig/suffixes/a.ts diff --git a/crates/oxc_resolver/tests/parcel/tsconfig/suffixes/b.ts b/crates/oxc_resolver/fixtures/parcel/tsconfig/suffixes/b.ts similarity index 100% rename from crates/oxc_resolver/tests/parcel/tsconfig/suffixes/b.ts rename to crates/oxc_resolver/fixtures/parcel/tsconfig/suffixes/b.ts diff --git a/crates/oxc_resolver/tests/parcel/tsconfig/suffixes/c-test.ts b/crates/oxc_resolver/fixtures/parcel/tsconfig/suffixes/c-test.ts similarity index 100% rename from crates/oxc_resolver/tests/parcel/tsconfig/suffixes/c-test.ts rename to crates/oxc_resolver/fixtures/parcel/tsconfig/suffixes/c-test.ts diff --git a/crates/oxc_resolver/tests/parcel/tsconfig/suffixes/index.ts b/crates/oxc_resolver/fixtures/parcel/tsconfig/suffixes/index.ts similarity index 100% rename from crates/oxc_resolver/tests/parcel/tsconfig/suffixes/index.ts rename to crates/oxc_resolver/fixtures/parcel/tsconfig/suffixes/index.ts diff --git a/crates/oxc_resolver/tests/parcel/tsconfig/suffixes/tsconfig.json b/crates/oxc_resolver/fixtures/parcel/tsconfig/suffixes/tsconfig.json similarity index 100% rename from crates/oxc_resolver/tests/parcel/tsconfig/suffixes/tsconfig.json rename to crates/oxc_resolver/fixtures/parcel/tsconfig/suffixes/tsconfig.json diff --git a/crates/oxc_resolver/tests/parcel/tsconfig/trailing-comma/bar.js b/crates/oxc_resolver/fixtures/parcel/tsconfig/trailing-comma/bar.js similarity index 100% rename from crates/oxc_resolver/tests/parcel/tsconfig/trailing-comma/bar.js rename to crates/oxc_resolver/fixtures/parcel/tsconfig/trailing-comma/bar.js diff --git a/crates/oxc_resolver/tests/parcel/tsconfig/trailing-comma/index.js b/crates/oxc_resolver/fixtures/parcel/tsconfig/trailing-comma/index.js similarity index 100% rename from crates/oxc_resolver/tests/parcel/tsconfig/trailing-comma/index.js rename to crates/oxc_resolver/fixtures/parcel/tsconfig/trailing-comma/index.js diff --git a/crates/oxc_resolver/tests/parcel/tsconfig/trailing-comma/tsconfig.json b/crates/oxc_resolver/fixtures/parcel/tsconfig/trailing-comma/tsconfig.json similarity index 100% rename from crates/oxc_resolver/tests/parcel/tsconfig/trailing-comma/tsconfig.json rename to crates/oxc_resolver/fixtures/parcel/tsconfig/trailing-comma/tsconfig.json diff --git a/crates/oxc_resolver/tests/tsconfig_project_references/app/aliased/index.ts b/crates/oxc_resolver/fixtures/tsconfig_project_references/app/aliased/index.ts similarity index 100% rename from crates/oxc_resolver/tests/tsconfig_project_references/app/aliased/index.ts rename to crates/oxc_resolver/fixtures/tsconfig_project_references/app/aliased/index.ts diff --git a/crates/oxc_resolver/tests/tsconfig_project_references/app/index.ts b/crates/oxc_resolver/fixtures/tsconfig_project_references/app/index.ts similarity index 100% rename from crates/oxc_resolver/tests/tsconfig_project_references/app/index.ts rename to crates/oxc_resolver/fixtures/tsconfig_project_references/app/index.ts diff --git a/crates/oxc_resolver/tests/tsconfig_project_references/app/tsconfig.json b/crates/oxc_resolver/fixtures/tsconfig_project_references/app/tsconfig.json similarity index 100% rename from crates/oxc_resolver/tests/tsconfig_project_references/app/tsconfig.json rename to crates/oxc_resolver/fixtures/tsconfig_project_references/app/tsconfig.json diff --git a/crates/oxc_resolver/tests/tsconfig_project_references/project_a/aliased/index.ts b/crates/oxc_resolver/fixtures/tsconfig_project_references/project_a/aliased/index.ts similarity index 100% rename from crates/oxc_resolver/tests/tsconfig_project_references/project_a/aliased/index.ts rename to crates/oxc_resolver/fixtures/tsconfig_project_references/project_a/aliased/index.ts diff --git a/crates/oxc_resolver/tests/tsconfig_project_references/project_a/conf.json b/crates/oxc_resolver/fixtures/tsconfig_project_references/project_a/conf.json similarity index 100% rename from crates/oxc_resolver/tests/tsconfig_project_references/project_a/conf.json rename to crates/oxc_resolver/fixtures/tsconfig_project_references/project_a/conf.json diff --git a/crates/oxc_resolver/tests/tsconfig_project_references/project_a/index.ts b/crates/oxc_resolver/fixtures/tsconfig_project_references/project_a/index.ts similarity index 100% rename from crates/oxc_resolver/tests/tsconfig_project_references/project_a/index.ts rename to crates/oxc_resolver/fixtures/tsconfig_project_references/project_a/index.ts diff --git a/crates/oxc_resolver/tests/tsconfig_project_references/project_b/src/aliased/index.ts b/crates/oxc_resolver/fixtures/tsconfig_project_references/project_b/src/aliased/index.ts similarity index 100% rename from crates/oxc_resolver/tests/tsconfig_project_references/project_b/src/aliased/index.ts rename to crates/oxc_resolver/fixtures/tsconfig_project_references/project_b/src/aliased/index.ts diff --git a/crates/oxc_resolver/tests/tsconfig_project_references/project_b/tsconfig.json b/crates/oxc_resolver/fixtures/tsconfig_project_references/project_b/tsconfig.json similarity index 100% rename from crates/oxc_resolver/tests/tsconfig_project_references/project_b/tsconfig.json rename to crates/oxc_resolver/fixtures/tsconfig_project_references/project_b/tsconfig.json diff --git a/crates/oxc_resolver/tests/tsconfig_project_references/project_c/index.ts b/crates/oxc_resolver/fixtures/tsconfig_project_references/project_c/index.ts similarity index 100% rename from crates/oxc_resolver/tests/tsconfig_project_references/project_c/index.ts rename to crates/oxc_resolver/fixtures/tsconfig_project_references/project_c/index.ts diff --git a/crates/oxc_resolver/tests/tsconfig_project_references/project_c/tsconfig.json b/crates/oxc_resolver/fixtures/tsconfig_project_references/project_c/tsconfig.json similarity index 100% rename from crates/oxc_resolver/tests/tsconfig_project_references/project_c/tsconfig.json rename to crates/oxc_resolver/fixtures/tsconfig_project_references/project_c/tsconfig.json diff --git a/crates/oxc_resolver/tests/tsconfig_project_references/tsconfig.base.json b/crates/oxc_resolver/fixtures/tsconfig_project_references/tsconfig.base.json similarity index 100% rename from crates/oxc_resolver/tests/tsconfig_project_references/tsconfig.base.json rename to crates/oxc_resolver/fixtures/tsconfig_project_references/tsconfig.base.json diff --git a/crates/oxc_resolver/src/tests/alias.rs b/crates/oxc_resolver/src/tests/alias.rs index e7188f4641efa..aa9ecd51ef8b3 100644 --- a/crates/oxc_resolver/src/tests/alias.rs +++ b/crates/oxc_resolver/src/tests/alias.rs @@ -1,14 +1,14 @@ //! -use std::path::{Path, PathBuf}; - -use crate::{AliasValue, ResolveError, ResolveOptions, Resolver, ResolverGeneric}; - -use super::memory_fs::MemoryFS; +use crate::{AliasValue, ResolveError, ResolveOptions, Resolver}; #[test] #[cfg(not(target_os = "windows"))] // MemoryFS's path separator is always `/` so the test will not pass in windows. fn alias() { + use super::memory_fs::MemoryFS; + use crate::ResolverGeneric; + use std::path::{Path, PathBuf}; + let f = Path::new("/"); let file_system = MemoryFS::new(&[ diff --git a/crates/oxc_resolver/src/tests/fallback.rs b/crates/oxc_resolver/src/tests/fallback.rs index bf8bbfc77c567..d12f1c5e8bf0d 100644 --- a/crates/oxc_resolver/src/tests/fallback.rs +++ b/crates/oxc_resolver/src/tests/fallback.rs @@ -1,14 +1,12 @@ //! https://github.com/webpack/enhanced-resolve/blob/main/test/fallback.test.js -use std::path::{Path, PathBuf}; - -use crate::{AliasValue, ResolveError, ResolveOptions, ResolverGeneric}; - -use super::memory_fs::MemoryFS; - #[test] #[cfg(not(target_os = "windows"))] // MemoryFS's path separator is always `/` so the test will not pass in windows. fn fallback() { + use super::memory_fs::MemoryFS; + use crate::{AliasValue, ResolveError, ResolveOptions, ResolverGeneric}; + use std::path::{Path, PathBuf}; + let f = Path::new("/"); let file_system = MemoryFS::new(&[ diff --git a/crates/oxc_resolver/src/tests/incorrect_description_file.rs b/crates/oxc_resolver/src/tests/incorrect_description_file.rs index cfac05b50b072..ebf8859d54587 100644 --- a/crates/oxc_resolver/src/tests/incorrect_description_file.rs +++ b/crates/oxc_resolver/src/tests/incorrect_description_file.rs @@ -1,7 +1,5 @@ //! -use std::env; - use crate::{JSONError, Resolution, ResolveError, ResolveOptions, Resolver}; // TODO: add `ctx with fileDependencies and then check file dependencies @@ -45,7 +43,7 @@ fn incorrect_description_file_3() { // `enhanced_resolve` does not have this test case #[test] fn no_description_file() { - let f = env::current_dir().unwrap().join("tests/enhanced_resolve"); + let f = super::fixture_root().join("enhanced_resolve"); // has description file let resolver = Resolver::default(); diff --git a/crates/oxc_resolver/src/tests/mod.rs b/crates/oxc_resolver/src/tests/mod.rs index 32c885752018f..be6d74de762ab 100644 --- a/crates/oxc_resolver/src/tests/mod.rs +++ b/crates/oxc_resolver/src/tests/mod.rs @@ -22,8 +22,12 @@ mod tsconfig_project_references; use crate::Resolver; use std::{env, path::PathBuf, sync::Arc, thread}; +pub fn fixture_root() -> PathBuf { + env::current_dir().unwrap().join("fixtures") +} + pub fn fixture() -> PathBuf { - env::current_dir().unwrap().join("tests/enhanced_resolve/test/fixtures") + fixture_root().join("enhanced_resolve/test/fixtures") } #[test] diff --git a/crates/oxc_resolver/src/tests/roots.rs b/crates/oxc_resolver/src/tests/roots.rs index 21eddf05ced05..c6e42fc17f908 100644 --- a/crates/oxc_resolver/src/tests/roots.rs +++ b/crates/oxc_resolver/src/tests/roots.rs @@ -1,11 +1,11 @@ //! -use std::{env, path::PathBuf}; +use std::path::PathBuf; use crate::{AliasValue, ResolveError, ResolveOptions, Resolver}; fn dirname() -> PathBuf { - env::current_dir().unwrap().join("tests/enhanced_resolve/test") + super::fixture_root().join("enhanced_resolve/test") } #[test] diff --git a/crates/oxc_resolver/src/tests/simple.rs b/crates/oxc_resolver/src/tests/simple.rs index aad5ec33eb20d..1cfcfa7336f51 100644 --- a/crates/oxc_resolver/src/tests/simple.rs +++ b/crates/oxc_resolver/src/tests/simple.rs @@ -7,7 +7,7 @@ use crate::Resolver; #[test] fn simple() { // mimic `enhanced-resolve/test/simple.test.js` - let dirname = env::current_dir().unwrap().join("tests"); + let dirname = env::current_dir().unwrap().join("fixtures"); let f = dirname.join("enhanced_resolve/test"); let resolver = Resolver::default(); diff --git a/crates/oxc_resolver/src/tests/symlink.rs b/crates/oxc_resolver/src/tests/symlink.rs index 4e76aa08f0812..7589b560eb820 100644 --- a/crates/oxc_resolver/src/tests/symlink.rs +++ b/crates/oxc_resolver/src/tests/symlink.rs @@ -1,4 +1,4 @@ -use std::{env, fs, io, path::Path}; +use std::{fs, io, path::Path}; use crate::{ResolveOptions, Resolver}; @@ -63,7 +63,7 @@ fn cleanup_symlinks(temp_path: &Path) { #[test] fn test() -> io::Result<()> { - let root = env::current_dir().unwrap().join("tests/enhanced_resolve"); + let root = super::fixture_root().join("enhanced_resolve"); let dirname = root.join("test"); let temp_path = dirname.join("temp"); if !temp_path.exists() { diff --git a/crates/oxc_resolver/src/tests/tsconfig_paths.rs b/crates/oxc_resolver/src/tests/tsconfig_paths.rs index 4243d21b8bdc8..1c6c502838cc1 100644 --- a/crates/oxc_resolver/src/tests/tsconfig_paths.rs +++ b/crates/oxc_resolver/src/tests/tsconfig_paths.rs @@ -4,15 +4,12 @@ use super::memory_fs::MemoryFS; use crate::{ResolveError, ResolveOptions, Resolver, ResolverGeneric, TsConfig}; -use std::{ - env, - path::{Path, PathBuf}, -}; +use std::path::{Path, PathBuf}; // #[test] fn tsconfig() { - let f = env::current_dir().unwrap().join("tests/parcel"); + let f = super::fixture_root().join("parcel"); #[rustfmt::skip] let pass = [ @@ -51,7 +48,7 @@ fn tsconfig() { #[test] fn json_with_comments() { - let f = env::current_dir().unwrap().join("tests/parcel/tsconfig/trailing-comma"); + let f = super::fixture_root().join("parcel/tsconfig/trailing-comma"); let resolver = Resolver::new(ResolveOptions { tsconfig: Some(f.join("tsconfig.json")), diff --git a/crates/oxc_resolver/src/tests/tsconfig_project_references.rs b/crates/oxc_resolver/src/tests/tsconfig_project_references.rs index a055f95634f87..aa0f880701768 100644 --- a/crates/oxc_resolver/src/tests/tsconfig_project_references.rs +++ b/crates/oxc_resolver/src/tests/tsconfig_project_references.rs @@ -1,11 +1,10 @@ //! Tests for tsconfig project references use crate::{ResolveOptions, Resolver}; -use std::env; #[test] fn test() { - let f = env::current_dir().unwrap().join("tests/tsconfig_project_references"); + let f = super::fixture_root().join("tsconfig_project_references"); let resolver = Resolver::new(ResolveOptions { tsconfig: Some(f.join("app")), diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/temp/index.js b/crates/oxc_resolver/tests/enhanced_resolve/test/temp/index.js new file mode 120000 index 0000000000000..877d93566f81f --- /dev/null +++ b/crates/oxc_resolver/tests/enhanced_resolve/test/temp/index.js @@ -0,0 +1 @@ +/Users/bytedance/github/oxc/crates/oxc_resolver/tests/enhanced_resolve/lib/index.js \ No newline at end of file diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/temp/lib b/crates/oxc_resolver/tests/enhanced_resolve/test/temp/lib new file mode 120000 index 0000000000000..7ab79fe33d050 --- /dev/null +++ b/crates/oxc_resolver/tests/enhanced_resolve/test/temp/lib @@ -0,0 +1 @@ +/Users/bytedance/github/oxc/crates/oxc_resolver/tests/enhanced_resolve/lib \ No newline at end of file diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/temp/node.relative.js b/crates/oxc_resolver/tests/enhanced_resolve/test/temp/node.relative.js new file mode 120000 index 0000000000000..cd2a299fdc1b7 --- /dev/null +++ b/crates/oxc_resolver/tests/enhanced_resolve/test/temp/node.relative.js @@ -0,0 +1 @@ +../../lib/index.js \ No newline at end of file diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/temp/node.relative.sym.js b/crates/oxc_resolver/tests/enhanced_resolve/test/temp/node.relative.sym.js new file mode 120000 index 0000000000000..0e38ccb4a4547 --- /dev/null +++ b/crates/oxc_resolver/tests/enhanced_resolve/test/temp/node.relative.sym.js @@ -0,0 +1 @@ +./node.relative.js \ No newline at end of file diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/temp/that b/crates/oxc_resolver/tests/enhanced_resolve/test/temp/that new file mode 120000 index 0000000000000..b494d08a67f8a --- /dev/null +++ b/crates/oxc_resolver/tests/enhanced_resolve/test/temp/that @@ -0,0 +1 @@ +/Users/bytedance/github/oxc/crates/oxc_resolver/tests/enhanced_resolve/test/temp/this \ No newline at end of file diff --git a/crates/oxc_resolver/tests/enhanced_resolve/test/temp/this b/crates/oxc_resolver/tests/enhanced_resolve/test/temp/this new file mode 120000 index 0000000000000..585c87bb7c351 --- /dev/null +++ b/crates/oxc_resolver/tests/enhanced_resolve/test/temp/this @@ -0,0 +1 @@ +/Users/bytedance/github/oxc/crates/oxc_resolver/tests/enhanced_resolve \ No newline at end of file diff --git a/tasks/benchmark/benches/resolver.rs b/tasks/benchmark/benches/resolver.rs index e899c04b60b87..d62ff99541db7 100644 --- a/tasks/benchmark/benches/resolver.rs +++ b/tasks/benchmark/benches/resolver.rs @@ -14,7 +14,7 @@ use oxc_tasks_common::project_root; use rayon::prelude::*; fn data() -> Vec<(PathBuf, &'static str)> { - let cwd = project_root().join("crates/oxc_resolver/tests/enhanced_resolve"); + let cwd = project_root().join("crates/oxc_resolver/fixtures/enhanced_resolve"); let f = cwd.join("test/fixtures"); vec![ (cwd.clone(), "./"),