Fix Light tests

Don't show in changelog
This commit is contained in:
Florian Rival
2020-08-31 13:59:06 +01:00
parent b5990ecbe3
commit 1ad20ec6c9

View File

@@ -66,7 +66,7 @@ describe('gdjs.LightRuntimeObject', function () {
it('check object properties', function () {
expect(lightObj.getRadius()).to.be(100);
expect(lightObj.getColor()).to.eql([180, 180, 180]);
expect(lightObj.getColor()).to.eql("180;180;180");
expect(lightObj.getDebugMode()).to.be(false);
expect(lightObj.getDrawableX()).to.be(100);
expect(lightObj.getDrawableY()).to.be(100);
@@ -156,7 +156,7 @@ describe('Light with obstacles around it', function () {
const expectedIndexBuffer = [
0, 1, 2, 0, 2, 3, 0, 3, 4, 0, 4, 5, 0, 5, 6, 0,
6, 7, 0, 7, 8, 0, 8, 9, 0, 9, 10, 0, 10, 11, 0,
11, 12, 0, 12, 13, 0, 13, 14, 0, 14, 15, 0, 15,
11, 12, 0, 12, 13, 0, 13, 14, 0, 14, 15, 0, 15,
16, 0, 16, 17, 0, 17, 18, 0, 18, 1,
];