Skip to content

Commit 39e071d

Browse files
committed
test: fix ts generator test, fixup 7c19dd6
there's no plugin in v3
1 parent 5a863a0 commit 39e071d

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

packages/@vue/cli-plugin-typescript/__tests__/tsGenerator.spec.js

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -64,22 +64,6 @@ test('use with Babel', async () => {
6464
expect(files['tsconfig.json']).toMatch(`"target": "esnext"`)
6565
})
6666

67-
test('use with router', async () => {
68-
const { files } = await generateWithPlugin([
69-
{
70-
id: '@vue/cli-plugin-router',
71-
apply: require('@vue/cli-plugin-router/generator'),
72-
options: {}
73-
},
74-
{
75-
id: 'ts',
76-
apply: require('../generator'),
77-
options: {}
78-
}
79-
])
80-
expect(files['src/views/Home.vue']).toMatch('<div class=\"home\">')
81-
})
82-
8367
test('lint', async () => {
8468
const { pkg, files } = await generateWithPlugin([
8569
{

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy