Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
liabru committed Apr 28, 2016
1 parent e8c899a commit c26684e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/browser/TestDemo.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ var test = function(status) {
_demo.engine.render = {};
_demo.engine.render.options = {};
_demo.runner = runner;
_demo.render = { options: {} };
_demo.mouseConstraint = Matter.MouseConstraint.create(engine);

Matter.Demo.reset(_demo);
Expand Down
1 change: 1 addition & 0 deletions test/node/TestDemo.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ var test = function() {
_demo.engine.render = {};
_demo.engine.render.options = {};
_demo.runner = runner;
_demo.render = { options: {} };

if (!(demo in Matter.Example)) {
throw '\'' + demo + '\' is not defined in Matter.Example';
Expand Down

0 comments on commit c26684e

Please sign in to comment.