diff --git a/packages/shared/test/phantoms.test.ts b/packages/shared/test/phantoms.test.ts index 881706c..98cd7d5 100644 --- a/packages/shared/test/phantoms.test.ts +++ b/packages/shared/test/phantoms.test.ts @@ -32,6 +32,7 @@ describe('deserializePhantoms', () => { zz: { color: 'b', type: 'p' }, // invalid square a1: { color: 'x', type: 'p' }, // invalid colour b2: { color: 'b', type: 'z' }, // invalid type + d3: null, // valid square, null value }); expect(deserializePhantoms(raw)).toEqual({ e5: { color: 'b', type: 'n' } }); });