From ca9c04beb77a7cfa99b87eaf97d2d68f64dfca25 Mon Sep 17 00:00:00 2001 From: twinh Date: Sun, 9 May 2021 22:15:45 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E7=A7=BB=E9=99=A4=20`core-js`=20?= =?UTF-8?q?=E5=92=8C=20`regenerator-runtime`=20=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- __tests__/index.js | 3 --- package.json | 2 -- 2 files changed, 5 deletions(-) diff --git a/__tests__/index.js b/__tests__/index.js index 4be4ae1..4f2b061 100644 --- a/__tests__/index.js +++ b/__tests__/index.js @@ -1,6 +1,3 @@ -import 'core-js/stable'; -import 'regenerator-runtime/runtime'; - import React from 'react'; import ColorPicker from '..'; import {render} from '@testing-library/react'; diff --git a/package.json b/package.json index ae40e69..a4f5bc3 100644 --- a/package.json +++ b/package.json @@ -22,8 +22,6 @@ }, "devDependencies": { "@miaoxing/dev": "^6.4.0", - "core-js": "^3.6.5", - "regenerator-runtime": "^0.13.5", "@testing-library/react": "^11.2.6" }, "ciDependencies": {