Home / Function/ test_ignore_node_modules_without_gitignore() — tailwindcss Function Reference

test_ignore_node_modules_without_gitignore() — tailwindcss Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  69f1c6fd_4e6e_7b32_fadc_f5e70b9385bc["test_ignore_node_modules_without_gitignore()"]
  4e97b231_bdcb_50f8_8ad3_53d02c45a8bb["scan_with_globs()"]
  69f1c6fd_4e6e_7b32_fadc_f5e70b9385bc -->|calls| 4e97b231_bdcb_50f8_8ad3_53d02c45a8bb
  style 69f1c6fd_4e6e_7b32_fadc_f5e70b9385bc fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/oxide/tests/scanner.rs lines 1478–1507

    fn test_ignore_node_modules_without_gitignore() {
        let ScanResult {
            candidates,
            files,
            globs,
            normalized_sources,
        } = scan_with_globs(
            &[
                (
                    "packages/web/index.html",
                    "content-['packages/web/index.html']",
                ),
                (
                    "node_modules/index.html",
                    "content-['node_modules/index.html']",
                ),
                (
                    "packages/web/node_modules/index.html",
                    "content-['packages/web/node_modules/index.html']",
                ),
            ],
            vec!["@source '**/*'"],
        );

        assert_eq!(candidates, vec!["content-['packages/web/index.html']"]);

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

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free