enable all tests

This commit is contained in:
Anton Lavrenov
2021-05-05 13:24:52 -05:00
parent 432ff1a87b
commit 46d2c25a9a
5 changed files with 8 additions and 14 deletions

View File

@@ -133,8 +133,6 @@ describe('TouchEvents', function () {
layer.add(circle);
stage.add(layer);
var top = stage.content.getBoundingClientRect().top;
// reset inDoubleClickWindow
Konva.inDblClickWindow = false;
@@ -287,8 +285,6 @@ describe('TouchEvents', function () {
var stageContentTouchstart = 0;
var stageContentTouchend = 0;
var top = stage.content.getBoundingClientRect().top;
circle.on('touchend', function () {
circleTouchend++;
});

View File

@@ -1,6 +1,6 @@
import { assert } from 'chai';
import KonvaModule from '../../lib/index';
import '../../lib/index-node';
import KonvaModule from '../../src/index';
import '../../src/index-node';
export const Konva = KonvaModule;
@@ -10,8 +10,8 @@ Konva.enableTrace = true;
Konva.showWarnings = true;
import { imagediff } from './imagediff';
import { Layer } from '../../lib/Layer.js';
import { Stage } from '../../lib/Stage.js';
import { Layer } from '../../src/Layer.js';
import { Stage } from '../../src/Stage.js';
// reset some data
beforeEach(function () {