-
-
Save Slayer95/b78c77c15112c8da0c4ebd5a42236c1d to your computer and use it in GitHub Desktop.
Test suite initialization
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
before('initialization', function () { | |
this.timeout(0); // Remove timeout limitation | |
process.on('unhandledRejection', err => { | |
// I'd throw the err, but we have a heisenbug on our hands and I'd | |
// rather not have it screw with Travis in the interim | |
console.log(err); | |
}); | |
// Preload dex | |
global.Dex = require('../.sim-dist/dex').includeData(); | |
require('../.sim-dist'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment