aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBobby <[email protected]>2022-01-28 16:51:58 -0500
committerBobby <[email protected]>2022-01-28 16:51:58 -0500
commitfae750e3027a6377e9de8dafe278efce4d262df4 (patch)
tree13f919f29e17012217b0039e307e6535b2c86926 /tests
parent71a47064e453e59973dfc67be1915a4395c97bec (diff)
downloadizuku.js-fae750e3027a6377e9de8dafe278efce4d262df4.tar.xz
izuku.js-fae750e3027a6377e9de8dafe278efce4d262df4.zip
feat: function to save to JSON
Diffstat (limited to 'tests')
-rw-r--r--tests/simple.test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/simple.test.ts b/tests/simple.test.ts
index dffde21..8957d11 100644
--- a/tests/simple.test.ts
+++ b/tests/simple.test.ts
@@ -5,6 +5,6 @@ const frame = new Frame(data, header);
describe('Print a frame', () => {
it('should print a frame', () => {
- frame.title('Simple Frame').show();
+ frame.title('Simple Frame').toJSON(undefined, 'hello');
});
});