7f26b17652
* Improve error message when using invalid client_id during code exchange * Extract SPA example OAuth client in own package * wip * remove dependency on get-port * Properly configure jest to only transpile "get-port" from node_modules https://jestjs.io/docs/configuration#transformignorepatterns-arraystring * Use dynamically assigned port number during tests * use puppeteer to run tests * remove login input "id" attribute * code style * add missing declaration * tidy * headless * remove get-port dependency * fix tests/proxied/admin.test.ts * fix tests * Allow unsecure oauth providers through configuration * transpile "lande" during ozone tests * Cache Puppeteer browser binaries * Use puppeteer cache during all workflow steps * remove use of set-output * use get-port in xrpc-server tests * Renamed to allowHttp * tidy * tidy
13 lines
394 B
JavaScript
13 lines
394 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'],
|
|
}
|