Home / File/ tailwind-sourcemap.spec.ts — vite Source File

tailwind-sourcemap.spec.ts — vite Source File

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

File typescript 2 imports

Entity Profile

Dependency Diagram

graph LR
  2e9b7c2d_2f3b_8d0b_d019_502bfc5f894f["tailwind-sourcemap.spec.ts"]
  a340ba46_b2b7_3048_3bb3_6907a74c8464["vitest"]
  2e9b7c2d_2f3b_8d0b_d019_502bfc5f894f --> a340ba46_b2b7_3048_3bb3_6907a74c8464
  d3fd5575_295b_d6be_24dd_62d277645dc9["~utils"]
  2e9b7c2d_2f3b_8d0b_d019_502bfc5f894f --> d3fd5575_295b_d6be_24dd_62d277645dc9
  style 2e9b7c2d_2f3b_8d0b_d019_502bfc5f894f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { expect, test } from 'vitest'
import { isBuild, serverLogs } from '~utils'

test.runIf(!isBuild)('should not output missing source file warning', () => {
  serverLogs.forEach((log) => {
    expect(log).not.toMatch(/Sourcemap for .+ points to missing source files/)
  })
})

test.runIf(isBuild)('should not output sourcemap warning (#4939)', () => {
  serverLogs.forEach((log) => {
    expect(log).not.toMatch('Sourcemap is likely to be incorrect')
  })
})

Dependencies

  • vitest
  • ~utils

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free