ssr-deps.spec.ts — vite Source File
Architecture documentation for ssr-deps.spec.ts, a typescript file in the vite codebase. 3 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 022e217b_28e7_4654_cd98_239f01003d15["ssr-deps.spec.ts"] 0be1f679_22ba_1fc5_0ca3_6b792f58df89["serve.ts"] 022e217b_28e7_4654_cd98_239f01003d15 --> 0be1f679_22ba_1fc5_0ca3_6b792f58df89 a340ba46_b2b7_3048_3bb3_6907a74c8464["vitest"] 022e217b_28e7_4654_cd98_239f01003d15 --> a340ba46_b2b7_3048_3bb3_6907a74c8464 d3fd5575_295b_d6be_24dd_62d277645dc9["~utils"] 022e217b_28e7_4654_cd98_239f01003d15 --> d3fd5575_295b_d6be_24dd_62d277645dc9 style 022e217b_28e7_4654_cd98_239f01003d15 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { describe, expect, test } from 'vitest'
import { port } from './serve'
import { editFile, getColor, isServe, page } from '~utils'
const url = `http://localhost:${port}`
/**
* test for #5809
*/
test('msg should be encrypted', async () => {
await page.goto(url)
expect(await page.textContent('.encrypted-msg')).not.toMatch(
'Secret Message!',
)
})
test('msg read by fs/promises', async () => {
await page.goto(url)
expect(await page.textContent('.file-message')).toMatch('File Content!')
})
test('msg from primitive export', async () => {
await page.goto(url)
expect(await page.textContent('.primitive-export-message')).toMatch(
'Hello World!',
)
})
test('msg from TS transpiled exports', async () => {
await page.goto(url)
expect(await page.textContent('.ts-default-export-message')).toMatch(
'Hello World!',
)
expect(await page.textContent('.ts-named-export-message')).toMatch(
'Hello World!',
)
})
test('msg from Object.assign exports', async () => {
await page.goto(url)
expect(await page.textContent('.object-assigned-exports-message')).toMatch(
'Hello World!',
)
})
test('msg from forwarded exports', async () => {
await page.goto(url)
expect(await page.textContent('.forwarded-export-message')).toMatch(
'Hello World!',
)
})
test('msg from define properties exports', async () => {
await page.goto(url)
expect(await page.textContent('.define-properties-exports-msg')).toMatch(
'Hello World!',
)
})
test('msg from define property exports', async () => {
// ... (109 more lines)
Domain
Dependencies
- serve.ts
- vitest
- ~utils
Source
Frequently Asked Questions
What does ssr-deps.spec.ts do?
ssr-deps.spec.ts is a source file in the vite codebase, written in typescript. It belongs to the ViteCore domain.
What does ssr-deps.spec.ts depend on?
ssr-deps.spec.ts imports 3 module(s): serve.ts, vitest, ~utils.
Where is ssr-deps.spec.ts in the architecture?
ssr-deps.spec.ts is located at playground/ssr-deps/__tests__/ssr-deps.spec.ts (domain: ViteCore, directory: playground/ssr-deps/__tests__).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free