overleaf/services/web/test/acceptance/bootstrap.js
Eric Mc Sween 3da8413156 Merge pull request #2369 from overleaf/em-imports-tpds
Defer flushing to TPDS on project import from v1

GitOrigin-RevId: f2782326716999c37565b3e527b54444bbc53711
2019-11-26 13:30:46 +00:00

12 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)
})