From 30d4934357f167843e3b4e5c889fce48c1a25f9c Mon Sep 17 00:00:00 2001 From: Jacob Quant Date: Mon, 21 Sep 2020 11:42:48 -0500 Subject: [PATCH] fix: import `runCLI` off default export (fix #65) See the following: * https://github.com/facebook/jest/issues/9512#issuecomment-581835474 * https://github.com/facebook/jest/pull/8874#discussion_r317470364 * https://github.com/stryker-mutator/stryker/issues/1983 --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index fb3b3a8..8744478 100644 --- a/src/index.js +++ b/src/index.js @@ -1,4 +1,4 @@ -import { runCLI } from '@jest/core'; +const { runCLI } = require('@jest/core'); import PluginError from 'plugin-error'; import through2 from 'through2';