UNPKG

658 BJavaScriptView Raw
1/**
2 * Copyright (c) 2015, Facebook, Inc.
3 * All rights reserved.
4 *
5 * This source code is licensed under the BSD-style license found in the
6 * LICENSE file in the root directory of this source tree. An additional grant
7 * of patent rights can be found in the PATENTS file in the same directory.
8 */
9
10require('babel/register')({
11 optional: ['runtime', 'es7.asyncFunctions']
12});
13
14var chai = require('chai');
15
16// var chaiSubset = require('chai-subset');
17// chai.use(chaiSubset);
18
19process.on('unhandledRejection', function (error) {
20 console.error('Unhandled Promise Rejection:');
21 console.error(error && error.stack || error);
22});
\No newline at end of file