mirror of
https://github.com/konvajs/konva.git
synced 2025-10-15 12:34:52 +08:00
enable all tests
This commit is contained in:
@@ -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++;
|
||||
});
|
||||
|
@@ -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 () {
|
||||
|
Reference in New Issue
Block a user