Skip to content

Commit

Permalink
fix: unit test (#11139)
Browse files Browse the repository at this point in the history
* fix: canParse

* Update setups/index.ts

* fix: threads

* refactor: remove patch

---------

Co-authored-by: Jack Works <[email protected]>
Co-authored-by: guanbinrui <[email protected]>
Co-authored-by: guanbinrui <[email protected]>
  • Loading branch information
4 people authored Nov 16, 2023
1 parent 7331732 commit f5bea97
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"lint:ci-report": "pnpm run lint:ci --format=junit --output-file=reports/junit/eslint-results.xml --max-warnings=0",
"prepare": "husky install",
"svgo": "svgo packages/icons/*/*.svg",
"test": "vitest",
"test": "vitest --no-threads",
"spellcheck": "cspell lint --no-must-find-files",
"clean": "npx gulp clean"
},
Expand Down
1 change: 0 additions & 1 deletion setups/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ globalThis.fetch = fetch
globalThis.Headers = Headers
globalThis.Request = Request
globalThis.Response = Response

// @ts-ignore
globalThis.location = {
href: '',
Expand Down

0 comments on commit f5bea97

Please sign in to comment.