fix for jest-worker ≥ 27

Forwarded: not-needed
Last-Update: 2021-09-26

Gbp-Pq: Name 2002_fix-for-jest-27.patch
This commit is contained in:
Yadd 2022-07-16 11:47:25 +08:00 committed by Lu zhiping
parent 9ff4c86228
commit 851a1d3abd
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
const { codeFrameColumns } = require("@babel/code-frame"); const { codeFrameColumns } = require("@babel/code-frame");
const Worker = require("jest-worker").default; const Worker = require("jest-worker").Worker;
const serialize = require("serialize-javascript"); const serialize = require("serialize-javascript");
function terser(userOptions = {}) { function terser(userOptions = {}) {