Skip to content

Commit 32b9034

Browse files
authored
test: configure chai truncated threshold (#1807)
1 parent 1ae2f6f commit 32b9034

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

test/setup.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import { chai } from 'vitest';
2+
3+
chai.config.truncateThreshold = 10000;

vite.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ console.log('VITEST_SEQUENCE_SEED', VITEST_SEQUENCE_SEED);
88
// https://vitejs.dev/config/
99
export default defineConfig({
1010
test: {
11+
setupFiles: ['test/setup.ts'],
1112
coverage: {
1213
all: true,
1314
reporter: ['clover', 'cobertura', 'lcov', 'text'],

0 commit comments

Comments
 (0)