-
-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c5b3a47
commit ed8f947
Showing
7 changed files
with
55 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -232,7 +232,8 @@ | |
}, | ||
"pnpm": { | ||
"patchedDependencies": { | ||
"[email protected]": "patches/[email protected]" | ||
"[email protected]": "patches/[email protected]", | ||
"@vitest/[email protected]": "patches/@[email protected]" | ||
} | ||
}, | ||
"lint-staged": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
diff --git a/dist/chunk-tasks.js b/dist/chunk-tasks.js | ||
index 8d5d39d8ecfa64017593b50327215c95b600467a..8fb7f0add58b4aa6f173a8b1655498bf401ab0a8 100644 | ||
--- a/dist/chunk-tasks.js | ||
+++ b/dist/chunk-tasks.js | ||
@@ -1,4 +1,3 @@ | ||
-import { processError } from '@vitest/utils/error'; | ||
import { relative } from 'pathe'; | ||
import { toArray } from '@vitest/utils'; | ||
|
||
@@ -103,14 +102,18 @@ function checkAllowOnly(task, allowOnly) { | ||
if (allowOnly) { | ||
return; | ||
} | ||
- const error = processError( | ||
- new Error( | ||
- "[Vitest] Unexpected .only modifier. Remove it or pass --allowOnly argument to bypass this error" | ||
- ) | ||
- ); | ||
+ const error = new Error( | ||
+ "[Vitest] Unexpected .only modifier. Remove it or pass --allowOnly argument to bypass this error" | ||
+ ) | ||
task.result = { | ||
state: "fail", | ||
- errors: [error] | ||
+ errors: [ | ||
+ { | ||
+ name: error.name, | ||
+ stack: error.stack, | ||
+ message: error.message | ||
+ } | ||
+ ] | ||
}; | ||
} | ||
function generateHash(str) { |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters