Files
directus/packages/sdk/jest.config.js
José Varela de5b34d87b SDK: split readMany into itself and readByQuery (#11204)
* split readMany into self and readByQuery

* add tests

* run tests only on `test` folder

* fix docs

* fix in `cli`
2022-02-16 09:52:42 -05:00

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'],
};