strong-mock
Type safe mocking library for TypeScript
File Explorer
Download Latest Version (.zip)- tests.yml
- FUNDING.yml
- 001-instance-type.md
- 002-matcher-diffs.md
- 003-matcher-exports.md
- matcher-diffs.png
- after-v9.png
- before-v9.png
- custom-matcher-error.png
- error-messages.png
- rename-refactor.gif
- type-safe-matchers.png
- verify.png
- api.spec.ts
- api.ts
- diff.spec.ts
- diff.ts
- unexpected-access.spec.ts
- unexpected-access.ts
- unexpected-call.spec.ts
- unexpected-call.ts
- verify.spec.ts
- verify.ts
- expectation-repository.mocks.ts
- expectation-repository.ts
- flexible-repository.spec.ts
- flexible-repository.ts
- return-value.spec.ts
- return-value.ts
- expectation.mocks.ts
- expectation.ts
- strong-expectation.spec.ts
- strong-expectation.ts
- contains-object.spec.ts
- contains-object.ts
- deep-equals.spec.ts
- deep-equals.ts
- is-any.spec.ts
- is-any.ts
- is-array.spec.ts
- is-array.ts
- is-number.spec.ts
- is-number.ts
- is-plain-object.spec.ts
- is-plain-object.ts
- is-string.spec.ts
- is-string.ts
- is.spec.ts
- is.ts
- it.ts
- matcher.spec.ts
- matcher.ts
- will-capture.spec.ts
- will-capture.ts
- defaults.spec.ts
- defaults.ts
- map.ts
- mock.spec.ts
- mock.ts
- mode.ts
- options.ts
- stub.spec.ts
- stub.ts
- invocation-count.spec.ts
- invocation-count.ts
- returns.spec.ts
- returns.ts
- reset.spec.ts
- reset.ts
- verify.spec.ts
- verify.ts
- expectation-builder.spec.ts
- expectation-builder.ts
- when.spec.ts
- when.ts
- index.ts
- print.spec.ts
- print.ts
- proxy.spec.ts
- proxy.ts
- ansiless.ts
- build.cjs
- build.mjs
- e2e.spec.ts
- fixtures.ts
- old.ts
- setupTests.ts
- types.spec.ts
- .gitignore
- .prettierrc.js
- CHANGELOG.md
- codecov.yml
- eslint.config.js
- LICENSE
- MIGRATION.md
- package.json
- pnpm-lock.yaml
- pnpm-workspace.yaml
- README.md
- renovate.json
- tsconfig.app.json
- tsconfig.build.json
- tsconfig.eslint.json
- tsconfig.json
- tsconfig.test.json
- vitest.config.mts
# Installation Guide
1. Get the code
git clone https://github.com/NiGhTTraX/strong-mock
Downloads the entire project code from GitHub to your computer.
cd strong-mock
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
npm i -D strong-mock
Type this command into your terminal and run it.
yarn add -D strong-mock
Type this command into your terminal and run it.
pnpm add -D strong-mock
Type this command into your terminal and run it.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
