index.test.ts — tailwindcss Source File
Architecture documentation for index.test.ts, a typescript file in the tailwindcss codebase. 7 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 605bae85_7d9d_f08e_edc9_1fc3747aee54["index.test.ts"] 9ffd1dda_9675_c514_373d_0f4ab4648249["utils.ts"] 605bae85_7d9d_f08e_edc9_1fc3747aee54 --> 9ffd1dda_9675_c514_373d_0f4ab4648249 b7531519_9055_fbfa_5f69_ebc8586b0422["candidate"] 605bae85_7d9d_f08e_edc9_1fc3747aee54 --> b7531519_9055_fbfa_5f69_ebc8586b0422 41c6e4f2_197a_5e83_1beb_584bbb4130fa["fetchStyles"] 605bae85_7d9d_f08e_edc9_1fc3747aee54 --> 41c6e4f2_197a_5e83_1beb_584bbb4130fa 329ca5ee_2e24_1ec5_6818_8fdc3622dda9["retryAssertion"] 605bae85_7d9d_f08e_edc9_1fc3747aee54 --> 329ca5ee_2e24_1ec5_6818_8fdc3622dda9 f11e3be9_51f8_140b_68b0_f58ddd082595["test"] 605bae85_7d9d_f08e_edc9_1fc3747aee54 --> f11e3be9_51f8_140b_68b0_f58ddd082595 2a7660a5_3e09_bd74_37f0_e4e54bc64ce5["node:path"] 605bae85_7d9d_f08e_edc9_1fc3747aee54 --> 2a7660a5_3e09_bd74_37f0_e4e54bc64ce5 696bd648_5f24_1b59_8e8b_7a97a692869e["vitest"] 605bae85_7d9d_f08e_edc9_1fc3747aee54 --> 696bd648_5f24_1b59_8e8b_7a97a692869e style 605bae85_7d9d_f08e_edc9_1fc3747aee54 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import path from 'node:path'
import { describe } from 'vitest'
import {
candidate,
css,
fetchStyles,
html,
js,
json,
retryAssertion,
test,
ts,
txt,
yaml,
} from '../utils'
describe.each(['postcss', 'lightningcss'])('%s', (transformer) => {
test(
`production build`,
{
fs: {
'package.json': json`{}`,
'pnpm-workspace.yaml': yaml`
#
packages:
- project-a
`,
'project-a/package.json': txt`
{
"type": "module",
"dependencies": {
"@tailwindcss/vite": "workspace:^",
"tailwindcss": "workspace:^"
},
"devDependencies": {
${transformer === 'lightningcss' ? `"lightningcss": "^1",` : ''}
"vite": "^7"
}
}
`,
'project-a/vite.config.ts': ts`
import tailwindcss from '@tailwindcss/vite'
import { defineConfig } from 'vite'
export default defineConfig({
css: ${transformer === 'postcss' ? '{}' : "{ transformer: 'lightningcss' }"},
build: { cssMinify: false },
plugins: [tailwindcss()],
})
`,
'project-a/index.html': html`
<head>
<link rel="stylesheet" href="./src/index.css" />
</head>
<body>
<div class="underline m-2">Hello, world!</div>
</body>
`,
'project-a/tailwind.config.js': js`
export default {
// ... (1106 more lines)
Domain
Subdomains
Functions
Dependencies
- candidate
- fetchStyles
- node:path
- retryAssertion
- test
- utils.ts
- vitest
Source
Frequently Asked Questions
What does index.test.ts do?
index.test.ts is a source file in the tailwindcss codebase, written in typescript. It belongs to the OxideEngine domain, Scanner subdomain.
What functions are defined in index.test.ts?
index.test.ts defines 1 function(s): firstLine.
What does index.test.ts depend on?
index.test.ts imports 7 module(s): candidate, fetchStyles, node:path, retryAssertion, test, utils.ts, vitest.
Where is index.test.ts in the architecture?
index.test.ts is located at integrations/vite/index.test.ts (domain: OxideEngine, subdomain: Scanner, directory: integrations/vite).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free