@universal-packages/core-typeorm-jest
v1.0.15
Published
Jest tooling for universal core typeorm
Downloads
217
Readme
Core Typeorm Jest
Jest tooling for Universal Core Typeorm testing.
Install
npm install @universal-packages/core-typeorm-jest
npm install @universal-packages/core
npm install @universal-packages/core-typeorm
Setup
Add the following to your jest.config.js
or where you configure Jest:
module.exports = {
setupFilesAfterEnv: ['@universal-packages/core-typeorm-jest']
}
Typescript
In order for typescript to see the global types you need to reference the types somewhere in your project, normally ./src/globals.d.ts
.
/// <reference types="@universal-packages/core-typeorm-jest" />
This library is developed in TypeScript and shipped fully typed.
Contributing
The development of this library happens in the open on GitHub, and we are grateful to the community for contributing bugfixes and improvements. Read below to learn how you can take part in improving this library.