1.3.3 • Published 5 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
5 years ago
1.3.2
5 years ago
1.2.8
5 years ago
1.2.7
5 years ago
1.3.1
5 years ago
1.3.0
5 years ago
1.2.9
5 years ago
1.2.6
6 years ago
1.2.5
6 years ago
1.2.4
6 years ago
1.2.3
6 years ago
1.2.2
6 years ago
1.2.1
6 years ago
1.2.0
6 years ago
1.1.8
6 years ago
1.1.7
7 years ago
1.1.6
7 years ago
1.1.5
7 years ago
1.1.4
7 years ago
1.1.3
7 years ago
1.1.2
7 years ago
1.1.1
7 years ago
1.1.0
7 years ago
1.0.0
7 years ago