Skip to content

Commit 10d2f7e

Browse files
author
Josh Lory
committed
Fix app tests to handle new Interpreter export
1 parent b6bd4be commit 10d2f7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/test/unit/JSInterpreterTest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ describe("JSInterpreter", function () {
77

88
// Setup up window.Interpreter.
99
window.acorn = require('../../lib/jsinterpreter/acorn');
10-
require('../../lib/jsinterpreter/interpreter');
10+
window.Interpreter = require('../../lib/jsinterpreter/interpreter').Interpreter;
1111

1212
function initWithCode(code) {
1313
// Setup a jsInterpreter instance with `hideSource: true` so an editor isn't

0 commit comments

Comments
 (0)