Use Chrome Headless browser instead of PhantomJS

This commit is contained in:
Sergio Crisostomo 2017-08-23 09:56:17 +02:00
parent b904fd871d
commit d32a53b472
4 changed files with 27 additions and 838 deletions

View file

@ -1,10 +1,6 @@
import Vue from 'vue';
Vue.config.productionTip = false;
// Polyfill fn.bind() for PhantomJS
/* eslint-disable no-extend-native */
Function.prototype.bind = require('function-bind');
// require all test files (files that ends with .spec.js)
const testsContext = require.context('./specs', true, /\.spec$/);
testsContext.keys().forEach(testsContext);