UNPKG

pusher-js

Version:

Pusher Channels JavaScript library for browsers, React Native, NodeJS and web workers

13 lines (9 loc) 557 B
// the webpack context API uses Object.keys and Array.prototype.forEach // both of which are unavailable in old versions of IE. require('../polyfills'); var sharedTestsContext = require.context("./core", true, /_spec$/); sharedTestsContext.keys().forEach(sharedTestsContext); var nodeTestsContext = require.context("./web", true, /_spec$/); nodeTestsContext.keys().forEach(nodeTestsContext); var coreWithRuntimeTestsContext = require.context("./core_with_runtime", true, /_spec$/); coreWithRuntimeTestsContext.keys().forEach(coreWithRuntimeTestsContext)