Home / File/ legacy-client-legacy-ssr-sequential-builds.spec.ts — vite Source File

legacy-client-legacy-ssr-sequential-builds.spec.ts — vite Source File

Architecture documentation for legacy-client-legacy-ssr-sequential-builds.spec.ts, a typescript file in the vite codebase. 3 imports, 0 dependents.

Entity Profile

Dependency Diagram

graph LR
  6ad2ca38_b7b8_cd8b_af67_15d93c353f2b["legacy-client-legacy-ssr-sequential-builds.spec.ts"]
  f712e8cd_d635_d42c_a01f_23491c6b2d29["serve.ts"]
  6ad2ca38_b7b8_cd8b_af67_15d93c353f2b --> f712e8cd_d635_d42c_a01f_23491c6b2d29
  a340ba46_b2b7_3048_3bb3_6907a74c8464["vitest"]
  6ad2ca38_b7b8_cd8b_af67_15d93c353f2b --> a340ba46_b2b7_3048_3bb3_6907a74c8464
  d3fd5575_295b_d6be_24dd_62d277645dc9["~utils"]
  6ad2ca38_b7b8_cd8b_af67_15d93c353f2b --> d3fd5575_295b_d6be_24dd_62d277645dc9
  style 6ad2ca38_b7b8_cd8b_af67_15d93c353f2b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { describe, expect, test } from 'vitest'
import { port } from './serve'
import { isBuild, page } from '~utils'

const url = `http://localhost:${port}`

describe.runIf(isBuild)('client-legacy-ssr-sequential-builds', () => {
  test('should work', async () => {
    await page.goto(url)
    expect(await page.textContent('#app')).toMatch('Hello')
  })

  test('import.meta.env.MODE', async () => {
    // SSR build is always modern
    expect(await page.textContent('#mode')).toMatch('test')
  })
})

Domain

Dependencies

Frequently Asked Questions

What does legacy-client-legacy-ssr-sequential-builds.spec.ts do?
legacy-client-legacy-ssr-sequential-builds.spec.ts is a source file in the vite codebase, written in typescript. It belongs to the ViteCore domain.
What does legacy-client-legacy-ssr-sequential-builds.spec.ts depend on?
legacy-client-legacy-ssr-sequential-builds.spec.ts imports 3 module(s): serve.ts, vitest, ~utils.
Where is legacy-client-legacy-ssr-sequential-builds.spec.ts in the architecture?
legacy-client-legacy-ssr-sequential-builds.spec.ts is located at playground/legacy/__tests__/client-and-ssr/legacy-client-legacy-ssr-sequential-builds.spec.ts (domain: ViteCore, directory: playground/legacy/__tests__/client-and-ssr).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free