(error, type)
| 172 | sessions.getSession(options.sessionId)?.ready() |
| 173 | }, |
| 174 | async onUnhandledError(error, type) { |
| 175 | if (error && typeof error === 'object') { |
| 176 | const _error = error as TestError |
| 177 | _error.stacks = globalServer.parseErrorStacktrace(_error) |
| 178 | } |
| 179 | vitest.state.catchError(error, type) |
| 180 | }, |
| 181 | async onQueued(method, file) { |
| 182 | if (method === 'collect') { |
| 183 | vitest.state.collectFiles(project, [file]) |
nothing calls this directly
no test coverage detected