jest-marbles
jest-marbles copied to clipboard
Certain shapes of Observer behavior can cause an uncought error in Marbizer.marblize
If you pass in, which I managed to find out in a test case of mine, it passes -3 into repeat.
it('should work', () => {
const values = { a: 1, b: 2, c: 3, d: 4 }
const base = merge(cold('-ac', values), cold('-bd', values));
expect(base).toBeObservable(cold('-(ab)(cd)', values))
})
is a minimal example how that is achieved