Skip to content

Commit

Permalink
Merge pull request #5 from fisuda/update
Browse files Browse the repository at this point in the history
Fix editor mode
  • Loading branch information
fisuda committed Jan 3, 2020
2 parents aafb89c + e6cfc08 commit 067833a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
1 change: 1 addition & 0 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"src-noconflict/ace.js",
"src-noconflict/mode-yaml.js",
"src-noconflict/mode-json.js",
"src-noconflict/mode-plain_text.js",
"src-noconflict/theme-cobalt.js",
"src-noconflict/worker-json.js"
]
Expand Down
1 change: 0 additions & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,5 @@
<script src="lib/js/mode-yaml.js"></script>
<script src="lib/js/mode-json.js"></script>
<script src="lib/js/theme-cobalt.js"></script>
<script src="lib/js/jquery.min.js"></script>
</body>
</html>
10 changes: 5 additions & 5 deletions tests/js/JsonInjectorSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

expect(MashupPlatform.wiring.pushEvent).toHaveBeenCalledWith('output', { name: 'abc' });
done();
}, 300);
}, 500);
});

it("click", function (done) {
Expand All @@ -53,7 +53,7 @@

expect(MashupPlatform.wiring.pushEvent).toHaveBeenCalledWith('output', {});
done();
}, 300);
}, 500);
});

it("click", function (done) {
Expand All @@ -62,7 +62,7 @@
setTimeout(() => {
expect(MashupPlatform.wiring.simulate).toThrow();
done();
}, 300);
}, 500);
});

it("click", function (done) {
Expand All @@ -73,7 +73,7 @@

expect(MashupPlatform.wiring.pushEvent).not.toHaveBeenCalled();
done();
}, 300);
}, 500);
});

it("click", function (done) {
Expand All @@ -84,7 +84,7 @@

expect(MashupPlatform.wiring.pushEvent).not.toHaveBeenCalled();
done();
}, 300);
}, 500);
});

});
Expand Down

0 comments on commit 067833a

Please sign in to comment.