@wearesage/schema
Version:
A flexible schema definition and validation system for TypeScript with multi-database support
14 lines • 476 B
JavaScript
/** @type {import('ts-jest').JestConfigWithTsJest} */
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
testMatch: ['**/__tests__/**/*.ts?(x)', '**/?(*.)+(spec|test).ts?(x)'],
testPathIgnorePatterns: ['/node_modules/', '/__tests__/mocks/', '/__tests__/fixtures/'],
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
collectCoverageFrom: [
'core/**/*.ts',
'adapters/**/*.ts',
'!**/node_modules/**',
'!**/dist/**',
],
};