Skip to content

Commit

Permalink
test(stopwatch): test getWatch
Browse files Browse the repository at this point in the history
  • Loading branch information
seleb committed Oct 13, 2022
1 parent b9bbae8 commit 58c49cc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions src/stopwatch.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,10 @@ test('stopwatch', async () => {
await startDialog('{sayWatch "timer"}');
await press('ArrowRight');
await snapshot();
await press('ArrowRight');

// get (0:05)
await startDialog('{x = {getWatch "timer"}}{print x}');
await press('ArrowRight');
await snapshot();
});

0 comments on commit 58c49cc

Please sign in to comment.