Home / File/ extensions.spec.ts — vite Source File

extensions.spec.ts — vite Source File

Architecture documentation for extensions.spec.ts, a typescript file in the vite codebase. 2 imports, 0 dependents.

File typescript 2 imports

Entity Profile

Dependency Diagram

graph LR
  7222c3a5_9f1c_e44b_805d_ea64c7c4236d["extensions.spec.ts"]
  a340ba46_b2b7_3048_3bb3_6907a74c8464["vitest"]
  7222c3a5_9f1c_e44b_805d_ea64c7c4236d --> a340ba46_b2b7_3048_3bb3_6907a74c8464
  d3fd5575_295b_d6be_24dd_62d277645dc9["~utils"]
  7222c3a5_9f1c_e44b_805d_ea64c7c4236d --> d3fd5575_295b_d6be_24dd_62d277645dc9
  style 7222c3a5_9f1c_e44b_805d_ea64c7c4236d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { expect, test } from 'vitest'
import { browserLogs, page } from '~utils'

test('should have no 404s', () => {
  browserLogs.forEach((msg) => {
    expect(msg).not.toMatch('404')
  })
})

test('not contain `.mjs`', async () => {
  const appHtml = await page.content()
  expect(appHtml).toMatch('Hello Vite!')
})

Dependencies

  • vitest
  • ~utils

Frequently Asked Questions

What does extensions.spec.ts do?
extensions.spec.ts is a source file in the vite codebase, written in typescript.
What does extensions.spec.ts depend on?
extensions.spec.ts imports 2 module(s): vitest, ~utils.
Where is extensions.spec.ts in the architecture?
extensions.spec.ts is located at playground/extensions/__tests__/extensions.spec.ts (directory: playground/extensions/__tests__).

Analyze Your Own Codebase

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

Try Supermodel Free