mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-24 17:51:51 +02:00
Defer flushing to TPDS on project import from v1 GitOrigin-RevId: f2782326716999c37565b3e527b54444bbc53711
13 lines
337 B
JavaScript
13 lines
337 B
JavaScript
const chai = require('chai')
|
|
chai.use(require('chai-as-promised'))
|
|
chai.use(require('chaid'))
|
|
|
|
// Do not truncate assertion errors
|
|
chai.config.truncateThreshold = 0
|
|
|
|
// Crash the process on an unhandled promise rejection
|
|
process.on('unhandledRejection', err => {
|
|
console.error('Unhandled promise rejection:', err)
|
|
process.exit(1)
|
|
})
|