mirror of
https://github.com/konvajs/konva.git
synced 2025-10-15 12:34:52 +08:00
repair tests
This commit is contained in:
@@ -634,7 +634,11 @@ suite('Shape', function() {
|
||||
context.restore();
|
||||
|
||||
|
||||
compareLayerAndCanvas(layer, canvas, 50);
|
||||
// don't test in PhantomJS as it use old chrome engine
|
||||
// it it has opacity + shadow bug
|
||||
if (!window.mochaPhantomJS) {
|
||||
compareLayerAndCanvas(layer, canvas, 20);
|
||||
}
|
||||
|
||||
var trace = layer.getContext().getTrace();
|
||||
//console.log(trace);
|
||||
|
Reference in New Issue
Block a user