repair tests

This commit is contained in:
lavrton
2015-02-09 07:21:55 +07:00
parent 367d829784
commit dc4032ceee
3 changed files with 8 additions and 4 deletions

View File

@@ -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);