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
  0ac44ded_796b_4390_2b41_989a2a72abb5["toString.spec.ts"]
  02e43f4a_da65_7acd_5a98_0f017554a159["index"]
  0ac44ded_796b_4390_2b41_989a2a72abb5 --> 02e43f4a_da65_7acd_5a98_0f017554a159
  6a13c450_be5a_326d_7e2d_c1d429be7e83["v3"]
  0ac44ded_796b_4390_2b41_989a2a72abb5 --> 6a13c450_be5a_326d_7e2d_c1d429be7e83
  style 0ac44ded_796b_4390_2b41_989a2a72abb5 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