Skip to content

Commit 35b7949

Browse files
committed
fix tests
Signed-off-by: Ihor Dykhta <dikhta.igor@gmail.com>
1 parent 16aaad4 commit 35b7949

1 file changed

Lines changed: 13 additions & 5 deletions

File tree

test/browser/layer-tests/icon-layer-specs.js

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,11 @@ test('#IconLayer -> renderLayer', t => {
300300
3,
301301
'Should create 3 deck.gl layer when icon geometry is provided'
302302
);
303-
const expectedLayerIds = ['test_layer_1', 'test_layer_1-accel', 'test_layer_1-attach'];
303+
const expectedLayerIds = [
304+
'test_layer_1_0',
305+
'test_layer_1_0-accel',
306+
'test_layer_1_0-attach'
307+
];
304308

305309
t.deepEqual(
306310
deckLayers.map(l => l.id),
@@ -357,7 +361,11 @@ test('#IconLayer -> renderLayer', t => {
357361
3,
358362
'Should create 3 deck.gl layer when icon geometry is provided'
359363
);
360-
const expectedLayerIds = ['test_layer_1', 'test_layer_1-accel', 'test_layer_1-attach'];
364+
const expectedLayerIds = [
365+
'test_layer_1_0',
366+
'test_layer_1_0-accel',
367+
'test_layer_1_0-attach'
368+
];
361369

362370
t.deepEqual(
363371
deckLayers.map(l => l.id),
@@ -417,9 +425,9 @@ test('#IconLayer -> renderLayer', t => {
417425
t.deepEqual(
418426
deckLayers.map(l => l.id),
419427
[
420-
'test_layer_1',
421-
'test_layer_1-accel',
422-
'test_layer_1-attach',
428+
'test_layer_1_0',
429+
'test_layer_1_0-accel',
430+
'test_layer_1_0-attach',
423431
'test_layer_1-label-types',
424432
'test_layer_1-label-types-characters',
425433
'test_layer_1-label-has_result',

0 commit comments

Comments
 (0)