Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Running tests

We use the [jest](https://jestjs.io/) test framework. To run all the tests use `npm run test`. To run a specific test the best experience is to use VS Code.
We use the [vitest](https://vitest.dev/) test framework. To run all the tests use `npm run test`. To run a specific test the best experience is to use VS Code.

The `codeql` executable must be on the path before running any tests. If you run `script/test` instead of `npm run test` it will set that up automatically.

Expand Down
20 changes: 13 additions & 7 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@ import github from "eslint-plugin-github";
import tseslint from "typescript-eslint";

export default tseslint.config(
globalIgnores(["dist/", "node_modules/", "script/", "jest.config.ts", "eslint.config.mjs", "build.mjs"]),
globalIgnores([
"dist/",
"node_modules/",
"script/",
"eslint.config.mjs",
"build.mjs",
]),
github.getFlatConfigs().recommended,
...github.getFlatConfigs().typescript,
tseslint.configs.recommendedTypeChecked,
Expand Down Expand Up @@ -61,12 +67,12 @@ export default tseslint.config(
"@typescript-eslint/restrict-template-expressions": "off",
},
settings: {
"import/parsers": {
"@typescript-eslint/parser": [".ts", ".tsx"]
},
"import/resolver": {
"typescript": {}
}
"import/parsers": {
"@typescript-eslint/parser": [".ts", ".tsx"],
},
"import/resolver": {
typescript: {},
},
},
languageOptions: {
parserOptions: {
Expand Down
213 changes: 0 additions & 213 deletions jest.config.ts

This file was deleted.

Loading
Loading