mirror of
https://github.com/konvajs/konva.git
synced 2026-01-22 21:02:26 +08:00
enable all tests
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"outDir": "lib",
|
||||
"target": "ES2015",
|
||||
"noEmitOnError": true,
|
||||
"moduleResolution": "node",
|
||||
"lib": ["ES2015", "dom"]
|
||||
"lib": ["ES2015", "dom"],
|
||||
"module": "CommonJS"
|
||||
},
|
||||
"include": ["../src/*.ts"]
|
||||
}
|
||||
|
||||
@@ -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