migrate-legacy-arbitrary-values.test.ts — tailwindcss Source File
Architecture documentation for migrate-legacy-arbitrary-values.test.ts, a typescript file in the tailwindcss codebase. 4 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR f9f4dd09_af8a_7dca_384d_340331dcd40b["migrate-legacy-arbitrary-values.test.ts"] a3df83e7_b177_b92b_d91f_ff6ea6bba20c["migrate-legacy-arbitrary-values.ts"] f9f4dd09_af8a_7dca_384d_340331dcd40b --> a3df83e7_b177_b92b_d91f_ff6ea6bba20c a8ebd8e1_4e38_4a06_28e7_e26261806723["migrateLegacyArbitraryValues"] f9f4dd09_af8a_7dca_384d_340331dcd40b --> a8ebd8e1_4e38_4a06_28e7_e26261806723 08129f89_e6ef_0092_629d_821c60228c89["node"] f9f4dd09_af8a_7dca_384d_340331dcd40b --> 08129f89_e6ef_0092_629d_821c60228c89 f1e05e5f_c1b2_a3f5_b2e8_3317b9243ac3["vitest"] f9f4dd09_af8a_7dca_384d_340331dcd40b --> f1e05e5f_c1b2_a3f5_b2e8_3317b9243ac3 style f9f4dd09_af8a_7dca_384d_340331dcd40b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { __unstable__loadDesignSystem } from '@tailwindcss/node'
import { expect, test } from 'vitest'
import { migrateLegacyArbitraryValues } from './migrate-legacy-arbitrary-values'
test.each([
['grid-cols-[auto,1fr]', 'grid-cols-[auto_1fr]'],
['grid-rows-[auto,1fr]', 'grid-rows-[auto_1fr]'],
['object-[10px,20px]', 'object-[10px_20px]'],
])('%s => %s', async (candidate, result) => {
let designSystem = await __unstable__loadDesignSystem('@import "tailwindcss";', {
base: __dirname,
})
expect(migrateLegacyArbitraryValues(designSystem, {}, candidate)).toEqual(result)
})
Domain
Dependencies
Source
Frequently Asked Questions
What does migrate-legacy-arbitrary-values.test.ts do?
migrate-legacy-arbitrary-values.test.ts is a source file in the tailwindcss codebase, written in typescript. It belongs to the CommandLineInterface domain.
What does migrate-legacy-arbitrary-values.test.ts depend on?
migrate-legacy-arbitrary-values.test.ts imports 4 module(s): migrate-legacy-arbitrary-values.ts, migrateLegacyArbitraryValues, node, vitest.
Where is migrate-legacy-arbitrary-values.test.ts in the architecture?
migrate-legacy-arbitrary-values.test.ts is located at packages/@tailwindcss-upgrade/src/codemods/template/migrate-legacy-arbitrary-values.test.ts (domain: CommandLineInterface, directory: packages/@tailwindcss-upgrade/src/codemods/template).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free