mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
test: show full object diff (#28069)
Co-authored-by: Cheng Zhao <zcbenz@gmail.com>
This commit is contained in:
@@ -91,6 +91,10 @@
|
||||
chai.use(require('chai-as-promised'))
|
||||
chai.use(require('dirty-chai'))
|
||||
|
||||
// Show full object diff
|
||||
// https://github.com/chaijs/chai/issues/469
|
||||
chai.config.truncateThreshold = 0;
|
||||
|
||||
const runner = mocha.run(() => {
|
||||
// Ensure the callback is called after runner is defined
|
||||
setTimeout(() => {
|
||||
|
||||
Reference in New Issue
Block a user