test with marbles

This commit is contained in:
Valere
2025-11-03 17:19:17 +01:00
parent a7d2a3b9db
commit 5961cb65df
2 changed files with 75 additions and 92 deletions

View File

@@ -106,7 +106,7 @@ export function withTestScheduler(
continuation: (helpers: OurRunHelpers) => void,
): void {
const scheduler = new TestScheduler((actual, expected) => {
expect(actual).deep.equals(expected);
expect(actual).toStrictEqual(expected);
});
const scope = new ObservableScope();
// we set the test scheduler as a global so that you can watch it in a debugger