Skip to content

Commit

Permalink
Fix web-renderer tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-thompson committed Jul 24, 2024
1 parent 5e27b87 commit c342c79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/packages/web-renderer/test/stdlib.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
});
3 changes: 2 additions & 1 deletion js/packages/web-renderer/test/vfs.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit c342c79

Please sign in to comment.