Home / File/ next.test.ts — tailwindcss Source File

next.test.ts — tailwindcss Source File

Architecture documentation for next.test.ts, a typescript file in the tailwindcss codebase. 6 imports, 0 dependents.

File typescript Oxide 6 imports

Entity Profile

Dependency Diagram

graph LR
  69a6e307_405d_5888_348c_fe512a2accf9["next.test.ts"]
  7600373a_3645_efb1_bcbb_e7c3fcb813ac["utils.ts"]
  69a6e307_405d_5888_348c_fe512a2accf9 --> 7600373a_3645_efb1_bcbb_e7c3fcb813ac
  ce18acb2_833c_61a7_166d_0fd7613ce1c0["candidate"]
  69a6e307_405d_5888_348c_fe512a2accf9 --> ce18acb2_833c_61a7_166d_0fd7613ce1c0
  522399f9_a5a8_fa94_794a_917ab0d0a66d["fetchStyles"]
  69a6e307_405d_5888_348c_fe512a2accf9 --> 522399f9_a5a8_fa94_794a_917ab0d0a66d
  22238dde_7df7_64d5_1424_a93cf2421b15["retryAssertion"]
  69a6e307_405d_5888_348c_fe512a2accf9 --> 22238dde_7df7_64d5_1424_a93cf2421b15
  44ea7d66_6ac1_15b9_1cc7_d01c23a5ee04["test"]
  69a6e307_405d_5888_348c_fe512a2accf9 --> 44ea7d66_6ac1_15b9_1cc7_d01c23a5ee04
  f1e05e5f_c1b2_a3f5_b2e8_3317b9243ac3["vitest"]
  69a6e307_405d_5888_348c_fe512a2accf9 --> f1e05e5f_c1b2_a3f5_b2e8_3317b9243ac3
  style 69a6e307_405d_5888_348c_fe512a2accf9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { describe } from 'vitest'
import { candidate, css, fetchStyles, js, json, jsx, retryAssertion, test, txt } from '../utils'

test(
  'production build',
  {
    fs: {
      'package.json': json`
        {
          "dependencies": {
            "react": "^18",
            "react-dom": "^18",
            "next": "^14"
          },
          "devDependencies": {
            "@tailwindcss/postcss": "workspace:^",
            "tailwindcss": "workspace:^"
          }
        }
      `,
      'postcss.config.mjs': js`
        export default {
          plugins: {
            '@tailwindcss/postcss': {},
          },
        }
      `,
      'next.config.mjs': js`export default {}`,
      'app/layout.js': js`
        import './globals.css'

        export default function RootLayout({ children }) {
          return (
            <html>
              <body>{children}</body>
            </html>
          )
        }
      `,
      'app/page.js': js`
        import styles from './page.module.css'
        export default function Page() {
          return (
            <h1 className={styles.heading + ' text-3xl font-bold underline'}>Hello, Next.js!</h1>
          )
        }
      `,
      'app/page.module.css': css`
        @reference './globals.css';
        .heading {
          @apply text-red-500 animate-ping skew-7;
        }
      `,
      'app/globals.css': css`
        @reference 'tailwindcss/theme';
        @import 'tailwindcss/utilities';
      `,
    },
  },
  async ({ fs, exec, expect }) => {
// ... (427 more lines)

Domain

Frequently Asked Questions

What does next.test.ts do?
next.test.ts is a source file in the tailwindcss codebase, written in typescript. It belongs to the Oxide domain.
What does next.test.ts depend on?
next.test.ts imports 6 module(s): candidate, fetchStyles, retryAssertion, test, utils.ts, vitest.
Where is next.test.ts in the architecture?
next.test.ts is located at integrations/postcss/next.test.ts (domain: Oxide, directory: integrations/postcss).

Analyze Your Own Codebase

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

Try Supermodel Free