Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
chore(scope-manager): migrate fromjest
tovitest
#10677
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
JoshuaKGoldberg merged 47 commits intotypescript-eslint:mainfromaryaemami59:chore/scope-manager-vitest-migrationApr 14, 2025
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
Show all changes
47 commits Select commitHold shift + click to select a range
d5cd6ab
Install `vitest`
aryaemami59da8743f
Rename `jest.config.js` to `vitest.config.mts`
aryaemami59c81f4a6
chore(scope-manager): migrate to `vitest`
aryaemami599075172
Update `vitest` to version 3.0.8
aryaemami590774859
Fix Vitest config
aryaemami59acb87d8
Include `vitest.config.mts` in `tsconfig.spec.json`
aryaemami59ee81176
Add `vitest.config.mts` files to ESLint configuration
aryaemami592e6ca49
Use `defineProject` instead of `defineConfig`
aryaemami596b7c18f
Explicitly enable `resolveJsonModule`
aryaemami59c53aea8
Use `.replace` instead of `.split`
aryaemami5901d31d1
Type check `vitest.config.mts` files using project references.
aryaemami5938bbad5
Fix Vitest config
aryaemami5959cf7c5
Fix `typecheck` task
aryaemami59c620ae5
Update `vitest` to version 3.0.9
aryaemami594a2f091
Update `@vitest/eslint-plugin` to version 1.1.38
aryaemami59cb58d7b
Update `vitest` to version 3.1.1
aryaemami592bd4d35
Update `@vitest/eslint-plugin` to version 1.1.39
aryaemami594470e91
Fix `knip` config
aryaemami596d0b6bb
Update `vite` to version 6.2.5
aryaemami59467d464
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59dad38a7
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59b710354
Update `vite` to version 6.2.6
aryaemami590b3bb37
Update `@vitest/eslint-plugin` to version 1.1.40
aryaemami599d92962
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami597049c20
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami5951aa1fc
Update `@vitest/eslint-plugin` to version 1.1.42
aryaemami59a5f46a0
Enable the new `vitest/prefer-describe-function-title` rule
aryaemami591f6327b
Fix `scope-manager` tests
aryaemami59b7e8ca5
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami597acc9f0
Use `vitestPlugin.configs.env`
aryaemami595c8c5e5
Include test `setupFiles` in ESLint config
aryaemami59aad0109
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59f33bf72
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59f382f9c
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami592128e85
Merge branch 'main' of https://github.com/typescript-eslint/typescrip…
aryaemami59fe0b2c3
Run `ast-spec:typecheck` during `postinstall`
aryaemami593e9c2e1
Fix `ast-spec:test`
aryaemami593bc0e8f
Fix `ast-spec:build`
aryaemami590c6d484
Try disabling remote cache
aryaemami591b2e0ac
Try disabling remote cache
aryaemami59b460a94
Update `typecheck` output path in `nx.json`
aryaemami59cfd2235
Fix `vitest` coverage output when run with `nx`
aryaemami597b2aa04
Fix `scope-manager` tests
aryaemami59edc1b9d
Merge branch 'main'
JoshuaKGoldberg9a26ce3
remove downlevel-dts line
JoshuaKGoldbergb1aad69
remove postbuild in scope-manager package.json
JoshuaKGoldberg45e2a9e
Merge branch 'main'
JoshuaKGoldbergFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
The table of contents is too big for display.
Diff view
Diff view
Uh oh!
There was an error while loading.Please reload this page.
There are no files selected for viewing
2 changes: 2 additions & 0 deletionseslint.config.mjs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
14 changes: 13 additions & 1 deletionknip.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
14 changes: 0 additions & 14 deletionspackages/scope-manager/jest.config.js
This file was deleted.
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
16 changes: 7 additions & 9 deletionspackages/scope-manager/package.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
36 changes: 2 additions & 34 deletionspackages/scope-manager/project.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,16 @@ | ||
{ | ||
"name": "scope-manager", | ||
"$schema": "../../node_modules/nx/schemas/project-schema.json", | ||
"root": "packages/scope-manager", | ||
"sourceRoot": "packages/scope-manager/src", | ||
"projectType": "library", | ||
"targets": { | ||
"lint": { | ||
"executor": "@nx/eslint:lint", | ||
"outputs": ["{options.outputFile}"] | ||
}, | ||
"test": { | ||
"executor": "@nx/vite:test" | ||
} | ||
} | ||
} |
6 changes: 3 additions & 3 deletionspackages/scope-manager/tests/eslint-scope/class-fields.test.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.