Home / File/ css-lightningcss-proxy.spec.ts — vite Source File

css-lightningcss-proxy.spec.ts — vite Source File

Architecture documentation for css-lightningcss-proxy.spec.ts, a typescript file in the vite codebase. 3 imports, 0 dependents.

Entity Profile

Dependency Diagram

graph LR
  3f138970_1d58_a3d2_1f0c_264c4b5c4fda["css-lightningcss-proxy.spec.ts"]
  e3b26ada_e15e_ab0a_7c4e_c1775a1a4908["serve.ts"]
  3f138970_1d58_a3d2_1f0c_264c4b5c4fda --> e3b26ada_e15e_ab0a_7c4e_c1775a1a4908
  a340ba46_b2b7_3048_3bb3_6907a74c8464["vitest"]
  3f138970_1d58_a3d2_1f0c_264c4b5c4fda --> a340ba46_b2b7_3048_3bb3_6907a74c8464
  d3fd5575_295b_d6be_24dd_62d277645dc9["~utils"]
  3f138970_1d58_a3d2_1f0c_264c4b5c4fda --> d3fd5575_295b_d6be_24dd_62d277645dc9
  style 3f138970_1d58_a3d2_1f0c_264c4b5c4fda fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

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

describe.runIf(isServe)('injected inline style', () => {
  test('injected inline style is present', async () => {
    await page.goto(url)
    const el = await page.$('.ssr-proxy')
    expect(await getColor(el)).toBe('coral')
  })
})

Domain

Dependencies

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free