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(rule-tester): migrate fromjest
tovitest
#10779
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
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
db12fb1
544e61a
7b65a55
51d99f2
d7e3feb
4b9c171
fa21966
f6263cb
72c75f8
b307230
81741aa
c8a36bd
71ab57d
ca0865d
66907d4
3bc6f30
d4ab35f
d7e4bd2
0353dcb
d9c3c03
9c96919
f70aacf
49f8cad
555c941
3942c10
e5d8061
918c658
47935a7
2274ba7
85bbc22
2c516fe
1c0a994
138003f
b8e70f6
bf68c3c
7ec9338
aafbc86
f1fddfd
930f64f
99a1e3f
5ed60b8
cdd1b3c
5965d19
1e60fc7
63099f8
fa97476
fcd36ce
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Uh oh!
There was an error while loading.Please reload this page.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -42,7 +42,7 @@ | ||
"lint": "npx nx lint", | ||
"pretest-eslint-base": "tsc -b tsconfig.build.json", | ||
"test-eslint-base": "mocha --require source-map-support/register ./tests/eslint-base/eslint-base.test.js", | ||
"test": "vitest --run --config=$INIT_CWD/vitest.config.mts", | ||
aryaemami59 marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
"check-types": "npx nx typecheck" | ||
}, | ||
"//": "NOTE - AJV is out-of-date, but it's intentionally synced with ESLint - https://github.com/eslint/eslint/blob/ad9dd6a933fd098a0d99c6a9aa059850535c23ee/package.json#L70", | ||
@@ -59,17 +59,18 @@ | ||
"eslint": "^8.57.0 || ^9.0.0" | ||
}, | ||
"devDependencies": { | ||
"@types/json-stable-stringify-without-jsonify": "^1.0.2", | ||
"@types/lodash.merge": "4.6.9", | ||
"@vitest/coverage-v8": "^3.1.1", | ||
"chai": "^4.4.1", | ||
"eslint-visitor-keys": "^4.2.0", | ||
"espree": "^10.3.0", | ||
"esprima": "^4.0.1", | ||
"mocha": "^10.4.0", | ||
"sinon": "^16.1.3", | ||
"source-map-support": "^0.5.21", | ||
"typescript": "*", | ||
"vitest": "^3.1.1" | ||
}, | ||
"funding": { | ||
"type": "opencollective", | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
{ | ||
"name": "rule-tester", | ||
"$schema": "../../node_modules/nx/schemas/project-schema.json", | ||
"projectType": "library", | ||
"root": "packages/rule-tester", | ||
"sourceRoot": "packages/rule-tester/src", | ||
"targets": { | ||
"lint": { | ||
"executor": "@nx/eslint:lint", | ||
"outputs": ["{options.outputFile}"] | ||
}, | ||
"test": { | ||
"executor": "@nx/vite:test" | ||
} | ||
} | ||
} |
Uh oh!
There was an error while loading.Please reload this page.