Bones/node_modules/es6-shim/test/test_helpers.js

18 lines
381 B
JavaScript
Raw Normal View History

2017-05-17 13:45:25 -04:00
/* global expect: true, assert: true, require, process */
expect = (function () {
var chai = require('chai');
chai.config.includeStack = true;
return chai.expect;
}());
assert = (function () {
var chai = require('chai');
chai.config.includeStack = true;
return chai.assert;
}());
if (typeof process === 'undefined' || !process.env.NO_ES6_SHIM) {
require('../');
}