Files
directus/tests/jest.config.js
Jay Cammarano a379c77280 E2E Factories and Testing Migration and Seeding (#8912)
* added faker

* added factories and tests

* removed unnecessary factory

* new schema

* seedTable test

* included all dbs in db relevant tests

* json string for insert in dbs that aren't postgres

* added organizer

* polished up geometry types

* added raw option to seedTable return

* forgot await disonnect

* createMany func with test

* remove an only

* createMany w/ options for relations and tests

* tests for json field

* removed an only

* json support

* factories working, ignore tests leaving for future
2021-10-20 17:24:34 +00:00

8 lines
176 B
JavaScript

module.exports = {
preset: 'ts-jest',
verbose: true,
globalSetup: './setup/setup.ts',
globalTeardown: './setup/teardown.ts',
modulePathIgnorePatterns: ['setup/utils'],
};