Skip to content

Commit

Permalink
chore: remove useless test dependence
Browse files Browse the repository at this point in the history
  • Loading branch information
erha19 committed Apr 14, 2022
1 parent 8a578e2 commit aa250a7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions jest.setup.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
const { JSDOM } = require('jsdom');
// new TextDecoder('ascii') is not supported in node12
// use TextDecoder and TextEncoder from `text-encoding`
const { TextDecoder, TextEncoder } = require('text-encoding');

const jsdom = new JSDOM('<div id="main"></div>', {
// https://github.com/jsdom/jsdom#basic-options
// 禁用掉 resources: usable, 采用 jsdom 默认策略不加载 subresources
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@
"simple-git": "^3.3.0",
"strip-html-comments": "^1.0.0",
"temp": "^0.9.4",
"text-encoding": "^0.7.0",
"ts-jest": "^27.0.3",
"uuid": "^8.3.2",
"write-pkg": "^4.0.0",
Expand Down

0 comments on commit aa250a7

Please sign in to comment.