This commit is contained in:
Henry Jameson 2019-04-24 21:53:51 +03:00
parent fd171da0dc
commit 2b5cf61a8f
6 changed files with 23 additions and 100 deletions

View file

@ -1,7 +1,3 @@
// 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)