Skip to content

Commit 395dc5d

Browse files
author
Josh Bernstein
committed
Fix unit tests to use toEqual CesiumGS#5819
1 parent 470810d commit 395dc5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Specs/DataSources/KmlDataSourceSpec.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ defineSuite([
283283
expect(source.entities);
284284
expect(source.entities.values.length).toEqual(1);
285285
expect(source.entities._entities._array.length).toEqual(1);
286-
expect(source.entities._entities._array[0]._billboard._image === dataSource._pinBuilder.fromColor(Color.YELLOW, 64));
286+
expect(source.entities._entities._array[0]._billboard._image._value).toEqual(dataSource._pinBuilder.fromColor(Color.YELLOW, 64));
287287
});
288288
});
289289

@@ -295,7 +295,7 @@ defineSuite([
295295
expect(source.entities);
296296
expect(source.entities.values.length).toEqual(1);
297297
expect(source.entities._entities._array.length).toEqual(1);
298-
expect(source.entities._entities._array[0]._billboard._image === dataSource._pinBuilder.fromColor(Color.YELLOW, 64));
298+
expect(source.entities._entities._array[0]._billboard._image._value).toEqual(dataSource._pinBuilder.fromColor(Color.YELLOW, 64));
299299
});
300300
});
301301

0 commit comments

Comments
 (0)