chore: type [ci skip]

This commit is contained in:
那里好脏不可以
2022-05-10 10:51:51 +08:00
committed by GitHub
parent 181872f744
commit 6042ab0f2f
22 changed files with 32 additions and 32 deletions

View File

@@ -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`)
})

View File

@@ -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`
})