Skip to content

Commit 20add75

Browse files
committed
update to [email protected] (matchers exercises)
1 parent 5fedca0 commit 20add75

File tree

4 files changed

+208
-78
lines changed

4 files changed

+208
-78
lines changed

exercises/03.assertions/01.problem.custom-matchers/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
"devDependencies": {
88
"@types/node": "^22.14.1",
9-
"vitest": "^3.1.1"
9+
"vitest": "^3.2.0"
1010
},
1111
"dependencies": {
1212
"zod": "^3.24.2"

exercises/03.assertions/01.solution.custom-matchers/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
"devDependencies": {
88
"@types/node": "^22.14.1",
9-
"vitest": "^3.1.1"
9+
"vitest": "^3.2.0"
1010
},
1111
"dependencies": {
1212
"zod": "^3.24.2"

exercises/03.assertions/01.solution.custom-matchers/vitest.setup.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ interface CustomMatchers<MatcherResult = any> {
66
}
77

88
declare module 'vitest' {
9-
interface Assertion<T = any> extends CustomMatchers<T> {}
10-
interface MatchersDeclaration extends CustomMatchers {}
9+
interface Matchers<T> extends CustomMatchers<T> {}
1110
}
1211

1312
expect.extend({

0 commit comments

Comments
 (0)