Chore: update jest to 25 (#28096)

pull/27416/head
Ryan McKinley 5 years ago committed by GitHub
parent 71d72cc973
commit 2e42ae5236
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      packages/grafana-toolkit/package.json
  2. 4
      packages/grafana-toolkit/src/cli/tasks/plugin/tests.ts
  3. 1591
      yarn.lock

@ -38,7 +38,6 @@
"@types/fs-extra": "^8.1.0",
"@types/inquirer": "^6.0.3",
"@types/jest": "24.0.13",
"@types/jest-cli": "^23.6.0",
"@types/node": "^12.0.4",
"@types/prettier": "^1.16.4",
"@types/puppeteer-core": "1.9.0",
@ -73,9 +72,8 @@
"html-loader": "0.5.5",
"html-webpack-plugin": "^3.2.0",
"inquirer": "^6.3.1",
"jest": "24.8.0",
"jest": "^25",
"jest-canvas-mock": "2.1.2",
"jest-cli": "^24.8.0",
"jest-coverage-badges": "^1.1.2",
"jest-environment-jsdom-fifteen": "^1.0.2",
"jest-junit": "^6.4.0",

@ -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();

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save