aboutsummaryrefslogtreecommitdiff
path: root/src/peripherals/gpio.spec.ts
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/peripherals/gpio.spec.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peripherals/gpio.spec.ts b/src/peripherals/gpio.spec.ts
index 67cd779..755476e 100644
--- a/src/peripherals/gpio.spec.ts
+++ b/src/peripherals/gpio.spec.ts
@@ -137,7 +137,7 @@ describe('GPIO', () => {
cpu.writeData(DDRB, 0x0f);
port.removeListener(listener);
cpu.writeData(PORTB, 0x99);
- expect(listener).toBeCalledTimes(1);
+ expect(listener).toHaveBeenCalledTimes(1);
});
});