Skip to content

Commit

Permalink
test for negative time, ref #85
Browse files Browse the repository at this point in the history
  • Loading branch information
yaxu committed Apr 22, 2022
1 parent 903c065 commit 47717e8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/core/test/pattern.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,15 @@ describe('Pattern', function () {
);
});
});
describe('fastcat()', function () {
it('Can go into negative time', function () {
sameFirst(
fastcat('a','b','c')
.late(1000000),
fastcat('a','b','c'),
);
});
});
describe('slowcat()', function () {
it('Can concatenate things slowly', function () {
assert.deepStrictEqual(
Expand Down

0 comments on commit 47717e8

Please sign in to comment.