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 35250311_746f_58a5_00f6_2f021a0a8f5a["comments.spec.ts"] db9e7bef_009d_3918_6e7d_543a36a38d75["vue"] 35250311_746f_58a5_00f6_2f021a0a8f5a --> db9e7bef_009d_3918_6e7d_543a36a38d75 style 35250311_746f_58a5_00f6_2f021a0a8f5a 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