0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
logto/packages/integration-tests/jest.config.ui.ts

13 lines
487 B
TypeScript
Raw Normal View History

import type { Config } from '@silverhand/jest-config';
import { merge } from '@silverhand/jest-config';
2022-11-22 03:58:31 -05:00
const config: Config.InitialOptions = {
// Will treat as CJS
// eslint-disable-next-line @typescript-eslint/no-require-imports, @typescript-eslint/no-var-requires, unicorn/prefer-module
...merge(require('jest-puppeteer/jest-preset')),
// Will update common config soon
transformIgnorePatterns: ['node_modules/(?!(.*(nanoid|jose|ky|@logto))/)'],
};
export default config;