UNPKG

es6-polyfills

Version:

ES6 polyfills that use native implementation if available and do not pollute the global namespace

48 lines (47 loc) 961 B
module.exports = function(config) { config.set({ singleRun: true, frameworks: ['mocha', 'requirejs'], browsers: ['PhantomJS'], reporters: ['progress', 'coverage'], preprocessors: { 'lib/*.js': 'coverage', 'test/browser-main.js': 'requirejs' }, coverageReporter: { subdir: 'browser', reporters: [ { type: 'json' }, { type: 'html' } ] }, requirejsPreprocessor: { config: { baseUrl: '/base', paths: { text: 'node_modules/requirejs-plugins/lib/text' } }, testRegexp: '^/base/test/.+\.spec\.js$' }, files: [ 'test/browser-main.js', { pattern: 'test/**/*.spec.js', included: false }, { pattern: 'lib/**/*.js', included: false }, { pattern: 'node_modules/**/*.js', included: false } ] }); };