UNPKG

pb-websocket

Version:
14 lines (9 loc) 347 B
import expect from 'expect' // global global.expect = expect // 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) var testsContext = require.context('.', true, /\.spec$/) testsContext.keys().forEach(testsContext)