test-object-option.ts — vue Source File
Architecture documentation for test-object-option.ts, a typescript file in the vue codebase. 1 imports, 6 dependents.
Entity Profile
Dependency Diagram
graph LR 09b3d58b_2586_2d23_1760_3ec3fe090d46["test-object-option.ts"] db9e7bef_009d_3918_6e7d_543a36a38d75["vue"] 09b3d58b_2586_2d23_1760_3ec3fe090d46 --> db9e7bef_009d_3918_6e7d_543a36a38d75 0611f30c_7fbe_1eaa_6698_a9cf6ee53b85["components.spec.ts"] 0611f30c_7fbe_1eaa_6698_a9cf6ee53b85 --> 09b3d58b_2586_2d23_1760_3ec3fe090d46 41f7d0e3_2662_be52_1666_f5322ac8fd4b["computed.spec.ts"] 41f7d0e3_2662_be52_1666_f5322ac8fd4b --> 09b3d58b_2586_2d23_1760_3ec3fe090d46 c7d0729b_b07c_6691_9df1_c8b8ed7dfa51["inject.spec.ts"] c7d0729b_b07c_6691_9df1_c8b8ed7dfa51 --> 09b3d58b_2586_2d23_1760_3ec3fe090d46 ef64c188_5d10_cf00_2e9f_ea00957fb198["methods.spec.ts"] ef64c188_5d10_cf00_2e9f_ea00957fb198 --> 09b3d58b_2586_2d23_1760_3ec3fe090d46 11b6fb7d_87af_11e4_38df_544939c07da3["props.spec.ts"] 11b6fb7d_87af_11e4_38df_544939c07da3 --> 09b3d58b_2586_2d23_1760_3ec3fe090d46 24078870_a82b_9ccc_b5de_ec30a4e12954["watch.spec.ts"] 24078870_a82b_9ccc_b5de_ec30a4e12954 --> 09b3d58b_2586_2d23_1760_3ec3fe090d46 style 09b3d58b_2586_2d23_1760_3ec3fe090d46 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import Vue from 'vue'
export default function testObjectOption(name) {
it(`Options ${name}: should warn non object value`, () => {
const options = {}
options[name] = () => {}
new Vue(options)
expect(`Invalid value for option "${name}"`).toHaveBeenWarned()
})
it(`Options ${name}: should not warn valid object value`, () => {
const options = {}
options[name] = {}
new Vue(options)
expect(`Invalid value for option "${name}"`).not.toHaveBeenWarned()
})
}
Domain
Subdomains
Functions
Dependencies
- vue
Imported By
Source
Frequently Asked Questions
What does test-object-option.ts do?
test-object-option.ts is a source file in the vue codebase, written in typescript. It belongs to the VueCore domain, GlobalAPI subdomain.
What functions are defined in test-object-option.ts?
test-object-option.ts defines 1 function(s): testObjectOption.
What does test-object-option.ts depend on?
test-object-option.ts imports 1 module(s): vue.
What files import test-object-option.ts?
test-object-option.ts is imported by 6 file(s): components.spec.ts, computed.spec.ts, inject.spec.ts, methods.spec.ts, props.spec.ts, watch.spec.ts.
Where is test-object-option.ts in the architecture?
test-object-option.ts is located at test/helpers/test-object-option.ts (domain: VueCore, subdomain: GlobalAPI, directory: test/helpers).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free