Chore: update jest to 25 (#28096)

This commit is contained in:
Ryan McKinley
2020-10-08 09:58:05 -07:00
committed by GitHub
parent 71d72cc973
commit 2e42ae5236
3 changed files with 918 additions and 681 deletions
@@ -1,4 +1,4 @@
import * as jestCLI from 'jest-cli';
import { runCLI } from '@jest/core';
import { useSpinner } from '../../utils/useSpinner';
import { loadJestPluginConfig } from '../../../config/jest.plugin.config';
@@ -34,7 +34,7 @@ export const testPlugin = ({
};
// @ts-ignore
const runJest = () => jestCLI.runCLI(cliConfig, [process.cwd()]);
const runJest = () => runCLI(cliConfig, [process.cwd()]);
if (watch) {
runJest();