1 | /* global require process __coverage__ */
|
2 | /* eslint no-var: 0 */
|
3 | // Fucking babel. https://github.com/babel/babel/issues/2212
|
4 | // Dump that data to disk after tests have finished.
|
5 | var dump = require('./dist/dump').default;
|
6 | process.on('exit', function() {
|
7 | dump({ coverage: __coverage__, path: 'coverage' });
|
8 | });
|