From 83f1777834ee839cb23bcb70f1d82da202097c2e Mon Sep 17 00:00:00 2001 From: Gao Sun Date: Fri, 14 Oct 2022 16:18:46 +0800 Subject: [PATCH] refactor(test): fix ui test --- packages/integration-tests/jest.config.ui.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/integration-tests/jest.config.ui.ts b/packages/integration-tests/jest.config.ui.ts index 8aac0acc9..17c1f7cfb 100644 --- a/packages/integration-tests/jest.config.ui.ts +++ b/packages/integration-tests/jest.config.ui.ts @@ -1,7 +1,6 @@ import { merge, Config } from '@silverhand/jest-config'; -const config: Config.InitialOptions = merge({ - preset: 'jest-puppeteer', -}); +// eslint-disable-next-line @typescript-eslint/no-require-imports, @typescript-eslint/no-var-requires, unicorn/prefer-module +const config: Config.InitialOptions = merge(require('jest-puppeteer/jest-preset')); export default config;