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 3bc6ded commit 13562f4Copy full SHA for 13562f4
README.md
@@ -227,6 +227,19 @@ f:should_be_called():with_other_calls_ignored():when(function()
227
end)
228
```
229
230
+## Ignoring All Calls
231
+
232
+```lua
233
+local mach = require 'mach'
234
235
+local f = mach.mock_function('f')
236
237
+mach.ignore_mocked_calls_when(function()
238
+ f()
239
+ f(1, 2, 3)
240
+end)
241
+```
242
243
## Flexible Syntax
244
245
```lua
0 commit comments