ispt4.0_laravel/node_modules/pusher-js/spec/javascripts/unit/index.web.js
2024-04-17 11:58:01 +01:00

13 lines
557 B
JavaScript

// 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)