mirror of
https://github.com/konvajs/konva.git
synced 2025-10-08 00:14:23 +08:00
FINALLY FIX THAT DAMN NODE TEST!
This commit is contained in:
@@ -161,7 +161,9 @@ describe('Text', function () {
|
||||
context.fillStyle = 'darkgrey';
|
||||
context.fillText('😬👧🏿', 10, 10 + 25);
|
||||
|
||||
compareLayerAndCanvas(layer, canvas, 254, 100);
|
||||
if (isBrowser) {
|
||||
compareLayerAndCanvas(layer, canvas, 254, 100);
|
||||
}
|
||||
});
|
||||
|
||||
it('check emoji rendering', function () {
|
||||
@@ -190,7 +192,9 @@ describe('Text', function () {
|
||||
context.fillText('😁😁', 10, 10 + 10);
|
||||
context.fillText('😁', 10, 10 + 30);
|
||||
|
||||
compareLayerAndCanvas(layer, canvas, 254);
|
||||
if (isBrowser) {
|
||||
compareLayerAndCanvas(layer, canvas, 254, 100);
|
||||
}
|
||||
});
|
||||
|
||||
it('check hindi with letterSpacing', function () {
|
||||
|
Reference in New Issue
Block a user