Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
inker committed Mar 24, 2024
1 parent 6f08152 commit dd95ceb
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,10 @@ module.exports = {
overrides: [
{
files: ['tests/**/*'],
parserOptions: {
tsconfigRootDir: __dirname,
project: ["./tests/tsconfig.json"],
},
extends: ['plugin:vitest/recommended'],
rules: {
'import/no-extraneous-dependencies': [
Expand Down
2 changes: 1 addition & 1 deletion tests/backtrack.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {
findFirstSolution,
type BacktrackOptions,
findFirstSolution,
} from '../src/utils/backtrack';

describe('findFirstSolution', () => {
Expand Down
4 changes: 2 additions & 2 deletions tests/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"compilerOptions": {
"target": "ESNext",
"module": "CommonJS",
"module": "NodeNext",
"strict": true,
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"types": ["vitest/globals"]
},
"include": ["./**/*", "../vitest.config.ts"]
"include": ["./**/*", "../vitest.config.mts"]
}
File renamed without changes.

0 comments on commit dd95ceb

Please sign in to comment.