Skip to content

Commit

Permalink
Maybe add more?
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisronline committed Dec 1, 2023
1 parent 88ffa0f commit cf41e2c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/widgets/mod_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Deno.test("Widget exports json as expected", () => {
...widgetSerialized,
});

const json = widget.export();
const exported = widget.export();
const json = widget.toJSON();
assertEquals(exported, widgetSerialized);
assertEquals(json, widgetSerialized);
});

0 comments on commit cf41e2c

Please sign in to comment.