1.3.3 • Published 3 years ago
jest-pg v1.3.3
jest-pg
Create postgres database scheme for each test and delete the database after test using jest globalSetup/globalTeardown.
NOTE: typeorm is used
Configuration
This uses TYPEORM configuration from environment variables. You can put it in a .env file or specify TYPEROM_* when running jest
Usage
jest.config.js
...
globalSetup: "jest-pg/src/setupDatabase",
globalTeardown: "jest-pg/src/teardownDatabase",
...
1.3.3
3 years ago
1.3.2
3 years ago
1.2.8
3 years ago
1.2.7
3 years ago
1.3.1
3 years ago
1.3.0
3 years ago
1.2.9
3 years ago
1.2.6
3 years ago
1.2.5
3 years ago
1.2.4
3 years ago
1.2.3
3 years ago
1.2.2
4 years ago
1.2.1
4 years ago
1.2.0
4 years ago
1.1.8
4 years ago
1.1.7
4 years ago
1.1.6
4 years ago
1.1.5
4 years ago
1.1.4
4 years ago
1.1.3
4 years ago
1.1.2
4 years ago
1.1.1
4 years ago
1.1.0
4 years ago
1.0.0
4 years ago