mock-typeorm
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

Mock TypeORM Test Status

Never hit the database again while testing.

A package for mocking TypeORM that can be utilized with any node.js testing library e.g. Jest, Mocha, Vitest etc..

Installation

To install this package, use the following command:

npm install --save-dev mock-typeorm sinon @types/sinon

Note that Sinon is added as a peer dependency, so you need to install it as well.

Documentation

You can find the MockTypeORM documentation on the website.

Development

To install the dependencies, run the following command:

pnpm install

To run the linting, run the following command:

pnpm run lint

To run the tests, run the following command:

pnpm run test

Package Sidebar

Install

npm i mock-typeorm

Weekly Downloads

2,513

Version

1.0.4

License

MIT

Unpacked Size

42.5 kB

Total Files

9

Last publish

Collaborators

  • jazim