twreporter-react
Version:
React-Redux site for The Reporter Foundation in Taiwan
22 lines (18 loc) • 658 B
JavaScript
/**
* Copyright (c) 2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
require('babel/register')({
optional: ['runtime', 'es7.asyncFunctions']
});
var chai = require('chai');
// var chaiSubset = require('chai-subset');
// chai.use(chaiSubset);
process.on('unhandledRejection', function (error) {
console.error('Unhandled Promise Rejection:');
console.error(error && error.stack || error);
});