Home / Function/ sassOtherTests() — vite Function Reference

sassOtherTests() — vite Function Reference

Architecture documentation for the sassOtherTests() function in sass-tests.ts from the vite codebase.

Entity Profile

Dependency Diagram

graph TD
  94fd8e4d_ae3b_4b48_f334_30785f310a7b["sassOtherTests()"]
  48f28f67_4a5c_e42b_f942_68d103bdd95b["sass-tests.ts"]
  94fd8e4d_ae3b_4b48_f334_30785f310a7b -->|defined in| 48f28f67_4a5c_e42b_f942_68d103bdd95b
  d2817fdd_4dd1_2a8b_dd89_2038bea82b33["tests()"]
  d2817fdd_4dd1_2a8b_dd89_2038bea82b33 -->|calls| 94fd8e4d_ae3b_4b48_f334_30785f310a7b
  style 94fd8e4d_ae3b_4b48_f334_30785f310a7b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

playground/css/__tests__/sass-tests.ts lines 119–135

export const sassOtherTests = () => {
  test('@import dependency w/ sass entry', async () => {
    expect(await getColor('.css-dep-sass')).toBe('orange')
  })

  test('@import dependency w/ sass export mapping', async () => {
    expect(await getColor('.css-dep-exports-sass')).toBe('orange')
  })

  test('@import dependency w/ sass export mapping (deep)', async () => {
    expect(await getColor('.css-dep-exports-deep-sass')).toBe('orange')
  })

  test('@import dependency w/out package scss', async () => {
    expect(await getColor('.sass-dep')).toBe('lavender')
  })
}

Domain

Subdomains

Called By

Frequently Asked Questions

What does sassOtherTests() do?
sassOtherTests() is a function in the vite codebase, defined in playground/css/__tests__/sass-tests.ts.
Where is sassOtherTests() defined?
sassOtherTests() is defined in playground/css/__tests__/sass-tests.ts at line 119.
What calls sassOtherTests()?
sassOtherTests() is called by 1 function(s): tests.

Analyze Your Own Codebase

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

Try Supermodel Free