Skip to content

Commit

Permalink
Merge branch 'next' into shilman/fix-docs-no-skip-headings
Browse files Browse the repository at this point in the history
  • Loading branch information
shilman authored Dec 2, 2024
2 parents fa0838d + 0fe1043 commit 90442be
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion code/addons/test/src/node/vitest-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,11 @@ export class VitestManager {
});
}

await this.vitest.init();
try {
await this.vitest.init();
} catch (e) {
this.testManager.reportFatalError('Failed to init Vitest', e);
}

if (watchMode) {
await this.setupWatchers();
Expand Down
2 changes: 1 addition & 1 deletion code/core/src/manager/components/sidebar/SidebarBottom.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export const SidebarBottomBase = ({
useEffect(() => {
const onCrashReport = ({ providerId, ...details }: TestingModuleCrashReportPayload) => {
api.updateTestProviderState(providerId, {
details,
error: { name: 'Crashed!', message: details.error.message },
running: false,
crashed: true,
watching: false,
Expand Down

0 comments on commit 90442be

Please sign in to comment.