strong-mock
strong-mock copied to clipboard
Type safe mocking library for TypeScript
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint](https://eslint.org) ([source](https://togithub.com/eslint/eslint)) | [`~8.57.0` -> `~9.0.0`](https://renovatebot.com/diffs/npm/eslint/8.57.0/9.0.0) |...
This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more.[View this repository on the Mend.io Web Portal](https://developer.mend.io/github/NiGhTTraX/strong-mock). ## Deprecations / Replacements > [!WARNING] These...
```typescript var printCall = function (property, args) { // TODO: don't leak the matcher concept here var prettyArgs = args .map(function (a) { return a && a.constructor && a.constructor.name ===...
When using strong-mock what i'm missing sometimes from jest is [mockImplementation](https://jestjs.io/docs/mock-function-api#mockfnmockimplementationfn). Would be great to be able to do something similar: ```ts interface FS { write: (content: string, out: fs.WriteStream)...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [strip-ansi](https://togithub.com/chalk/strip-ansi) | [`~6.0.0` -> `~7.1.0`](https://renovatebot.com/diffs/npm/strip-ansi/6.0.1/7.1.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/)...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [typescript](https://www.typescriptlang.org/) ([source](https://togithub.com/Microsoft/TypeScript)) | [`~5.4.0` -> `~5.5.0`](https://renovatebot.com/diffs/npm/typescript/5.4.5/5.5.3) |...
This is not really an issue, its more like a proposal on "never happened" mock I understand that not setting a mock will make test fail if the mock is...