Skip to content

Commit 4f5e569

Browse files
authored
test: migrate to vitest and colocate tests (#58)
1 parent 6207a8d commit 4f5e569

14 files changed

Lines changed: 5622 additions & 13101 deletions

.oxlintrc.jsonc

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,4 @@
55
"rules": {
66
"react/react-in-jsx-scope": "off",
77
},
8-
"overrides": [
9-
{
10-
// These suites use assertion helpers and no-throw checks, which trip Jest's static
11-
// expect detection without indicating a real test quality problem here.
12-
"files": ["__test__/**/*.{ts,tsx}"],
13-
"rules": {
14-
"jest/expect-expect": "off",
15-
},
16-
},
17-
{
18-
// The parser fixture strings make dynamic test titles more readable than duplicated
19-
// literal prefixes.
20-
"files": ["__test__/parser.test.ts"],
21-
"rules": {
22-
"jest/valid-title": "off",
23-
},
24-
},
25-
],
268
}

__test__/Interpolate.test.tsx

Lines changed: 0 additions & 191 deletions
This file was deleted.

jest.config.cjs

Lines changed: 0 additions & 24 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
"noEmit": true,
99
"types": ["node", "react"]
1010
},
11-
"files": ["package-types.cts"]
11+
"files": ["./types.cts"]
1212
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
"noEmit": true,
99
"types": ["node", "react"]
1010
},
11-
"files": ["package-types.mts"]
11+
"files": ["./types.mts"]
1212
}

0 commit comments

Comments
 (0)