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

resolve.spec.ts — vite Source File

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

File typescript 2 imports

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

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

test('import from .ts', async () => {
  await expect.poll(() => page.textContent('.ts')).toMatch('[success]')
})

test('import from .js', async () => {
  await expect.poll(() => page.textContent('.js')).toMatch('[success]')
})

test('fallback works', async () => {
  await expect.poll(() => page.textContent('.fallback')).toMatch('[success]')
})

test('nested tsconfig.json & references / include works', async () => {
  await expect.poll(() => page.textContent('.nested-a')).toMatch('[success]')
  await expect.poll(() => page.textContent('.nested-b')).toMatch('[success]')
})

Dependencies

  • vitest
  • ~utils

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free