@atproto/did
Version:
DID resolution and verification library
14 lines (13 loc) • 463 B
JavaScript
/** @type {import('jest').Config} */
module.exports = {
displayName: 'PDS',
transform: { '^.+\\.(t|j)s$': '@swc/jest' },
// Jest requires all ESM dependencies to be transpiled (even if they are
// dynamically import()ed).
transformIgnorePatterns: [
`/node_modules/.pnpm/(?!(get-port|lande|toygrad)@)`,
],
testTimeout: 60000,
setupFiles: ['<rootDir>/../../jest.setup.ts'],
moduleNameMapper: { '^(\\.\\.?\\/.+)\\.js$': ['$1.ts', '$1.js'] },
}