Home / File/ basic-ssr.spec.ts — vue Source File

basic-ssr.spec.ts — vue Source File

Architecture documentation for basic-ssr.spec.ts, a typescript file in the vue codebase. 3 imports, 0 dependents.

File typescript VueCore 3 imports

Entity Profile

Dependency Diagram

graph LR
  383c0b74_c2f2_d942_e5db_bb1bbff1476a["basic-ssr.spec.ts"]
  89e1d5c3_816b_464a_8e3e_7496dffe6752["e2eUtils.ts"]
  383c0b74_c2f2_d942_e5db_bb1bbff1476a --> 89e1d5c3_816b_464a_8e3e_7496dffe6752
  29f97b51_38b6_0943_0c18_913d76c86b26["setupPuppeteer"]
  383c0b74_c2f2_d942_e5db_bb1bbff1476a --> 29f97b51_38b6_0943_0c18_913d76c86b26
  7c454890_6339_b799_a183_9dcaf8992812["path"]
  383c0b74_c2f2_d942_e5db_bb1bbff1476a --> 7c454890_6339_b799_a183_9dcaf8992812
  style 383c0b74_c2f2_d942_e5db_bb1bbff1476a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

// @vitest-environment node
import path from 'path'
import { E2E_TIMEOUT, setupPuppeteer } from './e2eUtils'

describe('basic-ssr', () => {
  const { page, text } = setupPuppeteer()

  test(
    'should work',
    async () => {
      await page().goto(`file://${path.resolve(__dirname, `basic-ssr.html`)}`)
      expect(await text('#result')).toContain(
        `<div data-server-rendered="true">foo</div>`
      )
    },
    E2E_TIMEOUT
  )
})

Domain

Dependencies

Frequently Asked Questions

What does basic-ssr.spec.ts do?
basic-ssr.spec.ts is a source file in the vue codebase, written in typescript. It belongs to the VueCore domain.
What does basic-ssr.spec.ts depend on?
basic-ssr.spec.ts imports 3 module(s): e2eUtils.ts, path, setupPuppeteer.
Where is basic-ssr.spec.ts in the architecture?
basic-ssr.spec.ts is located at test/e2e/basic-ssr.spec.ts (domain: VueCore, directory: test/e2e).

Analyze Your Own Codebase

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

Try Supermodel Free