Skip to content

Commit

Permalink
fix: make callCount a function instead of getter (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
sparten11740 authored Feb 17, 2025
1 parent 5830062 commit 0af8bcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine.pure.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ const mock = {
let impl = implementation
const _mock = {
calls: [],
get callCount() {
callCount() {
return this.calls.length
},
mockImplementation: (fn) => {
Expand Down

0 comments on commit 0af8bcf

Please sign in to comment.