ts-mocking-bird
ts-mocking-bird copied to clipboard
A fully type safe mocking, call verification and import replacement library for jasmine and jest
Came across this when trying to mock Injector from Angular core. As the class in abstract it results in Injector is not newable error.
Test if object passed to verification functions `wasCalled`, `wasCalledOnce`, `wasNotCalled` and `wasCalledAtLeastOnce` is an `IFunctionVerifier`.
Bumps the npm_and_yarn group with 6 updates in the / directory: | Package | From | To | | --- | --- | --- | | [chromedriver](https://github.com/giggio/node-chromedriver) | `98.0.1` |...
Bumps the npm_and_yarn group with 4 updates in the / directory: [chromedriver](https://github.com/giggio/node-chromedriver), [webpack](https://github.com/webpack/webpack), [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) and [json5](https://github.com/json5/json5). Updates `chromedriver` from 98.0.1 to 119.0.1 Commits de961e3 Hide private attributes from exports 379046e...
Bumps [jasmine](https://github.com/jasmine/jasmine-npm) and [@types/jasmine](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jasmine). These dependencies needed to be updated together. Updates `jasmine` from 5.4.0 to 5.6.0 Release notes Sourced from jasmine's releases. v5.6.0 Please see the release notes. v5.5.0...
Bumps [source-map](https://github.com/mozilla/source-map) from 0.5.7 to 0.7.4. Changelog Sourced from source-map's changelog. Change Log 0.8.0-beta.0 Breaking changes #350 - Change browser detection logic for WASM loading. #363 - Change WASM loading...
Bumps [uuid](https://github.com/uuidjs/uuid) from 7.0.3 to 11.1.0. Release notes Sourced from uuid's releases. v11.1.0 11.1.0 (2025-02-19) Features update TS types to allowUint8Array subtypes for buffer option (#865) (a5231e7) v11.0.5 11.0.5 (2025-01-09)...
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 23.5.0 to 24.5.0. Release notes Sourced from puppeteer's releases. puppeteer-core: v24.5.0 24.5.0 (2025-03-31) Features improve screencast options (#13645) (22aeab9) Bug Fixes screencast mp4 encoding (#13676) (dfc9219) roll...
Bumps the npm_and_yarn group with 1 update: [axios](https://github.com/axios/axios). Updates `axios` from 1.7.7 to 1.8.4 Release notes Sourced from axios's releases. Release v1.8.4 Release notes: Bug Fixes buildFullPath: handle allowAbsoluteUrls: false...