@vitest/ui
Advanced tools
Comparing version 0.29.3 to 0.29.4
@@ -9,2 +9,3 @@ import { promises } from 'fs'; | ||
async function getModuleGraph(ctx, id) { | ||
var _a; | ||
const graph = {}; | ||
@@ -35,3 +36,3 @@ const externalized = /* @__PURE__ */ new Set(); | ||
} | ||
await get(ctx.server.moduleGraph.getModuleById(id)); | ||
await get(ctx.server.moduleGraph.getModuleById(id) || ((_a = ctx.browser) == null ? void 0 : _a.moduleGraph.getModuleById(id))); | ||
return { | ||
@@ -63,3 +64,3 @@ graph, | ||
const result = { | ||
paths: await this.ctx.state.getPaths(), | ||
paths: this.ctx.state.getPaths(), | ||
files: this.ctx.state.getFiles(), | ||
@@ -98,3 +99,3 @@ config: this.ctx.config, | ||
this.ctx.logger.log(`${c.bold(c.inverse(c.magenta(" HTML ")))} ${c.magenta("Report is generated")}`); | ||
this.ctx.logger.log(`${c.dim(" You can run ")}${c.bold(`npx vite preview --base __vitest__ --outDir ${relative(this.ctx.config.root, htmlDir)}`)}${c.dim(" to see the test results.")}`); | ||
this.ctx.logger.log(`${c.dim(" You can run ")}${c.bold(`npx vite preview --outDir ${relative(this.ctx.config.root, htmlDir)}`)}${c.dim(" to see the test results.")}`); | ||
} | ||
@@ -101,0 +102,0 @@ } |
{ | ||
"name": "@vitest/ui", | ||
"type": "module", | ||
"version": "0.29.3", | ||
"version": "0.29.4", | ||
"description": "UI for Vitest", | ||
@@ -65,4 +65,4 @@ "license": "MIT", | ||
"vue-router": "^4.1.6", | ||
"@vitest/runner": "0.29.3", | ||
"@vitest/ws-client": "0.29.3" | ||
"@vitest/ws-client": "0.29.4", | ||
"@vitest/runner": "0.29.4" | ||
}, | ||
@@ -69,0 +69,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
799755
2439