mirror of
https://github.com/cypress-io/cypress.git
synced 2026-02-21 22:50:49 -06:00
revise CONFIG_FILE_UNEXPECTED_ERROR error
This commit is contained in:
@@ -34,9 +34,9 @@
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<body><pre><span style="color:#e05561">We stopped running your tests because your config file crashed.<span style="color:#e6e6e6">
|
||||
<body><pre><span style="color:#e05561">Your <span style="color:#e5e510">configFile<span style="color:#e05561"> threw an error from: <span style="color:#4ec4ff">/path/to/cypress.config.js<span style="color:#e05561"><span style="color:#e6e6e6">
|
||||
<span style="color:#e05561"><span style="color:#e6e6e6">
|
||||
<span style="color:#e05561">Your <span style="color:#e5e510">configFile<span style="color:#e05561"> threw an error from: <span style="color:#4ec4ff">/path/to/configFile<span style="color:#e05561"><span style="color:#e6e6e6">
|
||||
<span style="color:#e05561">We stopped running your tests because your config file crashed.<span style="color:#e6e6e6">
|
||||
<span style="color:#c062de"><span style="color:#e6e6e6">
|
||||
<span style="color:#c062de">Error: fail whale<span style="color:#e6e6e6">
|
||||
<span style="color:#c062de"> at makeErr (cypress/packages/errors/test/unit/visualSnapshotErrors_spec.ts)<span style="color:#e6e6e6">
|
||||
|
||||
@@ -637,10 +637,10 @@ export const AllCypressErrors = {
|
||||
},
|
||||
CONFIG_FILE_UNEXPECTED_ERROR: (configFilePath: string, err: ErrorLike) => {
|
||||
return errTemplate`
|
||||
We stopped running your tests because your config file crashed.
|
||||
|
||||
Your ${fmt.highlight(`configFile`)} threw an error from: ${fmt.path(configFilePath)}
|
||||
|
||||
We stopped running your tests because your config file crashed.
|
||||
|
||||
${fmt.stackTrace(err)}
|
||||
`
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user