diff --git a/js/packages/web-renderer/test/stdlib.test.js b/js/packages/web-renderer/test/stdlib.test.js index 546d107..6cec8ca 100644 --- a/js/packages/web-renderer/test/stdlib.test.js +++ b/js/packages/web-renderer/test/stdlib.test.js @@ -19,5 +19,5 @@ test('std lib should have sparseq2', async function() { expect(stats.nodesAdded).toEqual(3); // root, sparseq, const expect(stats.edgesAdded).toEqual(2); - expect(stats.propsWritten).toEqual(3); // root channel, sparseq seq, const value + expect(stats.propsWritten).toEqual(5); // root channel, fadeIn, fadeOut, sparseq seq, const value }); diff --git a/js/packages/web-renderer/test/vfs.test.js b/js/packages/web-renderer/test/vfs.test.js index 76e4bb2..12bbb6a 100644 --- a/js/packages/web-renderer/test/vfs.test.js +++ b/js/packages/web-renderer/test/vfs.test.js @@ -36,7 +36,8 @@ test('vfs should show registered entries', async function() { expect(await core.render(el.table({key: 'a', path: 'test2'}, 0.5))).toMatchObject({ nodesAdded: 3, edgesAdded: 2, - propsWritten: 4, + // Root node channel, fadeIn, fadeOut, table key, path, const value + propsWritten: 6, }); await core.pruneVirtualFileSystem();