Home / Function/ it_should_find_new_extensions() — tailwindcss Function Reference

it_should_find_new_extensions() — tailwindcss Function Reference

Architecture documentation for the it_should_find_new_extensions() function in scanner.rs from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  73c157ac_a299_8a9a_8dba_88953129860b["it_should_find_new_extensions()"]
  1581ed51_04e1_62c1_6e26_ea43cf82d5f9["scan()"]
  73c157ac_a299_8a9a_8dba_88953129860b -->|calls| 1581ed51_04e1_62c1_6e26_ea43cf82d5f9
  style 73c157ac_a299_8a9a_8dba_88953129860b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/oxide/tests/scanner.rs lines 359–370

    fn it_should_find_new_extensions() {
        let ScanResult {
            files,
            globs,
            normalized_sources,
            ..
        } = scan(&[("src/index.my-extension", "")]);

        assert_eq!(files, vec!["src/index.my-extension"]);
        assert_eq!(globs, vec!["*", "src/**/*.{aspx,astro,cjs,cts,eex,erb,gjs,gts,haml,handlebars,hbs,heex,html,jade,js,jsx,liquid,md,mdx,mjs,mts,mustache,my-extension,njk,nunjucks,php,pug,py,razor,rb,rhtml,rs,slim,svelte,tpl,ts,tsx,twig,vue}"]);
        assert_eq!(normalized_sources, vec!["**/*"]);
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does it_should_find_new_extensions() do?
it_should_find_new_extensions() is a function in the tailwindcss codebase.
What does it_should_find_new_extensions() call?
it_should_find_new_extensions() calls 1 function(s): scan.

Analyze Your Own Codebase

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

Try Supermodel Free