diff --git a/tests/unit/vdom.ts b/tests/unit/vdom.ts index ec7a1194..ec0dedce 100644 --- a/tests/unit/vdom.ts +++ b/tests/unit/vdom.ts @@ -908,9 +908,9 @@ describe('vdom', () => { }); it('should remove styles', () => { - const projection = dom.create(v('div', { styles: { height: '20px' } }), projectorStub); - projection.update(v('div', { styles: { height: null } })); - assert.strictEqual(projection.domNode.outerHTML, '
'); + const projection = dom.create(v('div', { styles: { width: '30px', height: '20px' } }), projectorStub); + projection.update(v('div', { styles: { height: null, width: '30px' } })); + assert.strictEqual(projection.domNode.outerHTML, ''); }); it('should add styles', () => {