Commit 9356a946 authored by yann300's avatar yann300

fix test

parent e6adf1da
......@@ -8,9 +8,8 @@ test('compiler.compile smoke', function (t) {
var noop = function () {};
var getCacheFile = function () { return 'fakeCacheFile'; };
var fakeEditor = {onChangeSetup: noop, clearAnnotations: noop, getValue: noop, setCacheFileContent: noop, getCacheFile: getCacheFile};
var fakeOutputField = {empty: noop};
var fakeQueryParams = {get: function () { return {}; }};
var compiler = new Compiler(fakeEditor, null, fakeQueryParams, null, fakeOutputField);
var compiler = new Compiler(fakeEditor, fakeQueryParams, null, null);
compiler.setCompileJSON(noop);
compiler.compile();
t.ok(compiler);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment