It was the test that was wrong all along

This commit is contained in:
alex 2022-02-19 15:06:35 +00:00
parent 9e05da552f
commit f3a3376e24

View File

@ -180,8 +180,8 @@ describe('Pattern', function() {
})
it('Can alternate', function () {
assert.deepStrictEqual(
pure(10).when(slowcat(true,false),add(3)).fast(4).firstCycle,
slowcat(13,10,13,10).firstCycle
pure(10).when(slowcat(true,false),add(3)).fast(4)._sortEventsByPart().firstCycle,
fastcat(13,10,13,10).firstCycle
)
})
})