comments.spec.ts — vue Source File
Architecture documentation for comments.spec.ts, a typescript file in the vue codebase. 1 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 872ccce1_eb49_34a3_d7a3_4bcadb4035bd["comments.spec.ts"] c5601857_7faf_30c6_efca_20de90db006c["vue"] 872ccce1_eb49_34a3_d7a3_4bcadb4035bd --> c5601857_7faf_30c6_efca_20de90db006c style 872ccce1_eb49_34a3_d7a3_4bcadb4035bd fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import Vue from 'vue'
describe('Comments', () => {
it('comments should be kept', () => {
const vm = new Vue({
comments: true,
data() {
return {
foo: 1
}
},
template:
'<div><span>node1</span><!--comment1-->{{foo}}<!--comment2--></div>'
}).$mount()
expect(vm.$el.innerHTML).toEqual(
'<span>node1</span><!--comment1-->1<!--comment2-->'
)
})
})
Dependencies
- vue
Source
Frequently Asked Questions
What does comments.spec.ts do?
comments.spec.ts is a source file in the vue codebase, written in typescript.
What does comments.spec.ts depend on?
comments.spec.ts imports 1 module(s): vue.
Where is comments.spec.ts in the architecture?
comments.spec.ts is located at test/unit/features/options/comments.spec.ts (directory: test/unit/features/options).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free