13 lines
456 B
JavaScript
13 lines
456 B
JavaScript
|
/** @type {import('ts-jest').JestConfigWithTsJest} */
|
||
|
module.exports = {
|
||
|
displayName: 'hono',
|
||
|
injectGlobals: true,
|
||
|
testMatch: ['**/test/**/*.+(ts|tsx|js)', '**/src/**/(*.)+(spec|test).+(ts|tsx|js)'],
|
||
|
transform: { '^.+\\.m?tsx?$': 'ts-jest' },
|
||
|
testPathIgnorePatterns: ['/node_modules/', '/jest/'],
|
||
|
moduleNameMapper: {
|
||
|
'#crypto': '@clerk/backend/dist/runtime/node/crypto.js',
|
||
|
'#fetch': '@clerk/backend/dist/runtime/node/fetch.js',
|
||
|
},
|
||
|
}
|