Home / File/ toString.spec.ts — vue Source File

toString.spec.ts — vue Source File

Architecture documentation for toString.spec.ts, a typescript file in the vue codebase. 2 imports, 0 dependents.

File typescript 2 imports

Entity Profile

Dependency Diagram

graph LR
  c5e3c693_95e9_f841_2a0b_16f10dfb74ec["toString.spec.ts"]
  90a2398a_1498_3263_c62e_0c064dd2c9b3["index"]
  c5e3c693_95e9_f841_2a0b_16f10dfb74ec --> 90a2398a_1498_3263_c62e_0c064dd2c9b3
  d970b406_3424_b00e_55dd_82e98ab5aac2["v3"]
  c5e3c693_95e9_f841_2a0b_16f10dfb74ec --> d970b406_3424_b00e_55dd_82e98ab5aac2
  style c5e3c693_95e9_f841_2a0b_16f10dfb74ec fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { toString } from 'core/util/index'
import { ref } from 'v3'

test('should unwrap refs', () => {
  expect(
    toString({
      a: ref(0),
      b: { c: ref(1) }
    })
  ).toBe(JSON.stringify({ a: 0, b: { c: 1 } }, null, 2))
})

Dependencies

  • index
  • v3

Frequently Asked Questions

What does toString.spec.ts do?
toString.spec.ts is a source file in the vue codebase, written in typescript.
What does toString.spec.ts depend on?
toString.spec.ts imports 2 module(s): index, v3.
Where is toString.spec.ts in the architecture?
toString.spec.ts is located at test/unit/modules/util/toString.spec.ts (directory: test/unit/modules/util).

Analyze Your Own Codebase

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

Try Supermodel Free