We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e76663c commit 755a7f9Copy full SHA for 755a7f9
src/peripherals/watchdog.spec.ts
@@ -118,10 +118,12 @@ describe('Watchdog', () => {
118
// Now we skip 8ms. Watchdog shouldn't fire, yet
119
cpu.cycles += 16000 * 8;
120
runner.runInstructions(1);
121
+ expect(cpu.pc).not.toEqual(0);
122
123
// Now we skip an extra 8ms. We extended the timeout with WDR, so watchdog won't fire yet
124
125
126
127
128
// Finally, another 8ms bring us to 16ms since last WDR, and watchdog should fire
129
0 commit comments