1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 00:03:28 +01:00

fix karma test for wombat change

This commit is contained in:
Ilya Kreymer 2017-03-14 11:59:28 -07:00
parent a76dbefec2
commit 09a0779abb

View File

@ -80,7 +80,7 @@ function runWombatTest(testCase, done) {
try {
testFrame.contentWindow.eval(testCase.wombatScript);
runFunctionInIFrame(function () {
new window._WBWombat(wbinfo);
new window._WBWombat(window, wbinfo);
});
} catch (e) {
throw new Error('Initializing WombatJS failed: ' + e.toString());