mirror of
https://github.com/directus/directus.git
synced 2026-02-01 07:24:57 -05:00
* split readMany into self and readByQuery * add tests * run tests only on `test` folder * fix docs * fix in `cli`
12 lines
293 B
JavaScript
12 lines
293 B
JavaScript
require('dotenv').config();
|
|
|
|
module.exports = {
|
|
preset: 'ts-jest',
|
|
verbose: true,
|
|
setupFiles: ['dotenv/config'],
|
|
testURL: process.env.TEST_URL || 'http://localhost',
|
|
collectCoverageFrom: ['src/**/*.ts'],
|
|
testPathIgnorePatterns: ['dist'],
|
|
testMatch: ['<rootDir>/tests/**/*.test.ts'],
|
|
};
|