May 3, 2021 — jest-when allows you to use a set of the original Jest mock functions in order to train ... of the training only happens for mock functions not ending in *Once . ... because one of them will always fail, and throw an assertion error.
jest-mock-throw-error-once
3925e8d270
jest mock throw error once
Comments