Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Fryuni committed Dec 3, 2024
1 parent 9e7be81 commit 93ab80f
Show file tree
Hide file tree
Showing 4 changed files with 210 additions and 144 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@
"overrides": {
"@croct/sdk": "0.17.0",
"@inox-tools/star-warp>astro": "4.16.8",
"picomatch": "3.0.1",
"vite": "6.0.0-beta.8"
"picomatch": "3.0.1"
}
}
}
4 changes: 2 additions & 2 deletions packages/aik-route-config/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ export default defineConfig({
reportsDirectory: './__coverage__',
thresholds: {
autoUpdate: true,
lines: 53.16,
lines: 53.98,
functions: 71.42,
branches: 82.75,
statements: 53.16,
statements: 53.98,
},
},
},
Expand Down
4 changes: 2 additions & 2 deletions packages/utils/tests/unist/visit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ test('should add a pretty stack (hast)', function () {
' at node (text) (visit.ts:1:1)',
' at node (element<div>) (visit.ts:1:1)',
' at node (root) (visit.ts:1:1)',
' at visitParents (visit.ts:1:1)',
' at Module.visitParents (visit.ts:1:1)',
].join('\n'),
'should provide a useful stack trace'
);
Expand Down Expand Up @@ -646,7 +646,7 @@ test('should add a pretty stack (xast)', function () {
' at node (text) (visit.ts:1:1)',
' at node (element<xml>) (visit.ts:1:1)',
' at node (root) (visit.ts:1:1)',
' at visitParents (visit.ts:1:1)',
' at Module.visitParents (visit.ts:1:1)',
].join('\n')
);
});
Loading

0 comments on commit 93ab80f

Please sign in to comment.