wallaby-webpack
Advanced tools
Comparing version 0.0.11 to 0.0.12
@@ -296,6 +296,7 @@ 'use strict'; | ||
+ '};' | ||
+ 'window.__moduleBundler.loadTests = function () {' | ||
+ 'window.__moduleBundler.loadTests = function () { window.wallaby._startWhenReceiverIsReady(function() {' | ||
+ prelude | ||
// passing accumulated files and entry points (webpack-ed tests for the current sandbox) | ||
+ '(window.__moduleBundler.cache, window.__moduleBundler.moduleCache, (function(){ var testIds = []; for(var i = 0, len = wallaby.loadedTests.length; i < len; i++) { var test = wallaby.loadedTests[i]; if (test.substr(-7) === ".wbp.js") testIds.push(wallaby.baseDir + test.substr(0, test.length - 7)); } return testIds; })()); };' | ||
+ '(window.__moduleBundler.cache, window.__moduleBundler.moduleCache, (function(){ var testIds = []; for(var i = 0, len = wallaby.loadedTests.length; i < len; i++) { var test = wallaby.loadedTests[i]; if (test.substr(-7) === ".wbp.js") testIds.push(wallaby.baseDir + test.substr(0, test.length - 7)); } return testIds; })());' | ||
+ '});};' | ||
} | ||
@@ -302,0 +303,0 @@ } |
{ | ||
"name": "wallaby-webpack", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"description": "Webpack postprocessor for wallaby.js", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14927
292