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
  7c157b80_be49_7c16_1238_bc31ec2d1e85["init.spec.ts"]
  db9e7bef_009d_3918_6e7d_543a36a38d75["vue"]
  7c157b80_be49_7c16_1238_bc31ec2d1e85 --> db9e7bef_009d_3918_6e7d_543a36a38d75
  style 7c157b80_be49_7c16_1238_bc31ec2d1e85 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