Skip to content

Commit

Permalink
fix(ui): don't show "connecting" screen in html reporter (#2693)
Browse files Browse the repository at this point in the history
  • Loading branch information
poyoho committed Jan 17, 2023
1 parent 8a1d759 commit d8548c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/ui/client/composables/client/index.ts
Expand Up @@ -66,7 +66,7 @@ export function runCurrent() {
watch(
() => client.ws,
(ws) => {
status.value = 'CONNECTING'
status.value = isReport ? 'OPEN' : 'CONNECTING'

ws.addEventListener('open', async () => {
status.value = 'OPEN'
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/vite.config.ts
Expand Up @@ -11,7 +11,7 @@ import { presetAttributify, presetIcons, presetUno } from 'unocss'
// for debug:
// open a static file serve to share the report json
// and ui using the link to load the report json data
const debugLink = 'http://127.0.0.1:4173'
const debugLink = 'http://127.0.0.1:4173/__vitest__'

export const config: UserConfig = {
root: __dirname,
Expand Down

0 comments on commit d8548c6

Please sign in to comment.