Home / File/ test-helpers.ts — tailwindcss Source File

test-helpers.ts — tailwindcss Source File

Architecture documentation for test-helpers.ts, a typescript file in the tailwindcss codebase. 1 imports, 1 dependents.

File typescript CommandLineInterface Renderer 1 imports 1 dependents 1 functions

Entity Profile

Dependency Diagram

graph LR
  f05ea9e9_1da1_84ec_5542_810b78022689["test-helpers.ts"]
  89aef3dd_1eed_c141_d425_b8949215a653["node:path"]
  f05ea9e9_1da1_84ec_5542_810b78022689 --> 89aef3dd_1eed_c141_d425_b8949215a653
  7dcd775d_cdd7_c609_2b1c_d31c561874d0["renderer.test.ts"]
  7dcd775d_cdd7_c609_2b1c_d31c561874d0 --> f05ea9e9_1da1_84ec_5542_810b78022689
  style f05ea9e9_1da1_84ec_5542_810b78022689 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import path from 'node:path'

export function normalizeWindowsSeperators(p: string) {
  return path.sep === '\\' ? p.replaceAll('\\', '/') : p
}

Subdomains

Dependencies

  • node:path

Frequently Asked Questions

What does test-helpers.ts do?
test-helpers.ts is a source file in the tailwindcss codebase, written in typescript. It belongs to the CommandLineInterface domain, Renderer subdomain.
What functions are defined in test-helpers.ts?
test-helpers.ts defines 1 function(s): normalizeWindowsSeperators.
What does test-helpers.ts depend on?
test-helpers.ts imports 1 module(s): node:path.
What files import test-helpers.ts?
test-helpers.ts is imported by 1 file(s): renderer.test.ts.
Where is test-helpers.ts in the architecture?
test-helpers.ts is located at packages/@tailwindcss-cli/src/utils/test-helpers.ts (domain: CommandLineInterface, subdomain: Renderer, directory: packages/@tailwindcss-cli/src/utils).

Analyze Your Own Codebase

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

Try Supermodel Free