[go: nahoru, domu]

Skip to content

Commit

Permalink
Don't stub out ES module imports
Browse files Browse the repository at this point in the history
It is not allowed and only happens to work because babel doesn't
strictly follow the specification. It doesn't seem necessary for the
tests to run, so just remove it.
  • Loading branch information
CendioOssman committed Jul 13, 2018
1 parent d131633 commit 9eaea86
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/test.mouse.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
const expect = chai.expect;

import Mouse from '../core/input/mouse.js';
import * as eventUtils from '../core/util/events.js';

describe('Mouse Event Handling', function() {
"use strict";

sinon.stub(eventUtils, 'setCapture');
// This function is only used on target (the canvas)
// and for these tests we can assume that the canvas is 100x100
// located at coordinates 10x10
Expand Down

0 comments on commit 9eaea86

Please sign in to comment.