chore: type [ci skip]
This commit is contained in:
@@ -2023,7 +2023,7 @@ foo
|
||||
isPreTag: tag => tag === 'pre'
|
||||
})
|
||||
const elementAfterPre = ast.children[1] as ElementNode
|
||||
// should not affect the <span> and condense its whitepsace inside
|
||||
// should not affect the <span> and condense its whitespace inside
|
||||
expect((elementAfterPre.children[0] as TextNode).content).toBe(` foo bar`)
|
||||
})
|
||||
|
||||
|
||||
@@ -80,7 +80,7 @@ describe('compiler: element transform', () => {
|
||||
expect(root.components).toContain(`Foo`)
|
||||
})
|
||||
|
||||
test('resolve implcitly self-referencing component', () => {
|
||||
test('resolve implicitly self-referencing component', () => {
|
||||
const { root } = parseWithElementTransform(`<Example/>`, {
|
||||
filename: `/foo/bar/Example.vue?vue&type=template`
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user