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

init.spec.ts — vue Source File

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

File typescript 1 imports

Entity Profile

Dependency Diagram

graph LR
  605beefd_2e51_45af_aacf_56e6755fce8a["init.spec.ts"]
  c5601857_7faf_30c6_efca_20de90db006c["vue"]
  605beefd_2e51_45af_aacf_56e6755fce8a --> c5601857_7faf_30c6_efca_20de90db006c
  style 605beefd_2e51_45af_aacf_56e6755fce8a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import Vue from 'vue'

describe('Initialization', () => {
  it('without new', () => {
    try {
      Vue()
    } catch (e) {}
    expect(
      'Vue is a constructor and should be called with the `new` keyword'
    ).toHaveBeenWarned()
  })

  it('with new', () => {
    expect(new Vue() instanceof Vue).toBe(true)
  })
})

Dependencies

  • vue

Frequently Asked Questions

What does init.spec.ts do?
init.spec.ts is a source file in the vue codebase, written in typescript.
What does init.spec.ts depend on?
init.spec.ts imports 1 module(s): vue.
Where is init.spec.ts in the architecture?
init.spec.ts is located at test/unit/features/instance/init.spec.ts (directory: test/unit/features/instance).

Analyze Your Own Codebase

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

Try Supermodel Free