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 BuildIntegrations PostCSSPlugin 1 imports 1 dependents 1 functions

Entity Profile

Dependency Diagram

graph LR
  073dcfc0_10d3_6126_8f28_49e53d51b2ee["test-helpers.ts"]
  2a7660a5_3e09_bd74_37f0_e4e54bc64ce5["node:path"]
  073dcfc0_10d3_6126_8f28_49e53d51b2ee --> 2a7660a5_3e09_bd74_37f0_e4e54bc64ce5
  e8745fc5_1f30_da23_d59c_a963bd15db47["renderer.test.ts"]
  e8745fc5_1f30_da23_d59c_a963bd15db47 --> 073dcfc0_10d3_6126_8f28_49e53d51b2ee
  style 073dcfc0_10d3_6126_8f28_49e53d51b2ee 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 BuildIntegrations domain, PostCSSPlugin 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: BuildIntegrations, subdomain: PostCSSPlugin, 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