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 4ef3cec1_7e9c_23bb_5e9b_f118e8ebdf99["test-object-option.ts"] c5601857_7faf_30c6_efca_20de90db006c["vue"] 4ef3cec1_7e9c_23bb_5e9b_f118e8ebdf99 --> c5601857_7faf_30c6_efca_20de90db006c 5f9d37fc_8c80_970e_0c59_4de99bf2b199["components.spec.ts"] 5f9d37fc_8c80_970e_0c59_4de99bf2b199 --> 4ef3cec1_7e9c_23bb_5e9b_f118e8ebdf99 f0950146_e93a_0156_926c_3ddc0804808e["computed.spec.ts"] f0950146_e93a_0156_926c_3ddc0804808e --> 4ef3cec1_7e9c_23bb_5e9b_f118e8ebdf99 8aaca635_356c_a829_80bb_e657fe60e2b4["inject.spec.ts"] 8aaca635_356c_a829_80bb_e657fe60e2b4 --> 4ef3cec1_7e9c_23bb_5e9b_f118e8ebdf99 4521e1fe_aba9_22b2_c8e7_7e548270f328["methods.spec.ts"] 4521e1fe_aba9_22b2_c8e7_7e548270f328 --> 4ef3cec1_7e9c_23bb_5e9b_f118e8ebdf99 f149e158_31d2_0df6_5f52_f04b2231a294["props.spec.ts"] f149e158_31d2_0df6_5f52_f04b2231a294 --> 4ef3cec1_7e9c_23bb_5e9b_f118e8ebdf99 22a524f6_2fb1_68ba_94b1_d743c176e408["watch.spec.ts"] 22a524f6_2fb1_68ba_94b1_d743c176e408 --> 4ef3cec1_7e9c_23bb_5e9b_f118e8ebdf99 style 4ef3cec1_7e9c_23bb_5e9b_f118e8ebdf99 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 CompilerSFC domain, ScriptAnalyzer 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: CompilerSFC, subdomain: ScriptAnalyzer, directory: test/helpers).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free