mirror of
https://github.com/konvajs/konva.git
synced 2025-10-15 12:34:52 +08:00
fix tests
This commit is contained in:
@@ -105,7 +105,7 @@ describe('AutoDraw', function () {
|
||||
it('redraw for images', function (done) {
|
||||
// don't test on node, because of specific url access
|
||||
if (isNode) {
|
||||
return;
|
||||
return done();
|
||||
}
|
||||
var stage = addStage();
|
||||
var layer = new Konva.Layer();
|
||||
|
@@ -3762,8 +3762,10 @@ describe('Node', function () {
|
||||
});
|
||||
|
||||
it('show warning when we are trying to use non-objects for component setters', function () {
|
||||
if (!Konva.isUnminified) {
|
||||
return;
|
||||
}
|
||||
var stage = addStage();
|
||||
|
||||
var callCount = 0;
|
||||
var oldWarn = Konva.Util.warn;
|
||||
Konva.Util.warn = function () {
|
||||
|
Reference in New Issue
Block a user