Skip to content

Commit 7e1c93e

Browse files
authored
Configure Chai to Show More on Error (#575)
2 parents 0fabbbf + acdf2c6 commit 7e1c93e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/functionality/main.spec.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@
66

77
import { log, LogLevel } from '../../src/util/log'
88
import { serverLog } from '../../src/cli/repl/server/server'
9+
import chai from 'chai'
910

11+
chai.config.includeStack = true
12+
chai.config.showDiff = true
13+
chai.config.truncateThreshold = 0
1014

1115
/**
1216
* Update the minimum level of all flowr loggers (including the detacthed {@link serverLog}).

0 commit comments

Comments
 (0)