mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-16 00:24:48 +01:00
fix karma test for wombat change
This commit is contained in:
parent
a76dbefec2
commit
09a0779abb
@ -80,7 +80,7 @@ function runWombatTest(testCase, done) {
|
|||||||
try {
|
try {
|
||||||
testFrame.contentWindow.eval(testCase.wombatScript);
|
testFrame.contentWindow.eval(testCase.wombatScript);
|
||||||
runFunctionInIFrame(function () {
|
runFunctionInIFrame(function () {
|
||||||
new window._WBWombat(wbinfo);
|
new window._WBWombat(window, wbinfo);
|
||||||
});
|
});
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
throw new Error('Initializing WombatJS failed: ' + e.toString());
|
throw new Error('Initializing WombatJS failed: ' + e.toString());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user