Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7937c75

Browse files
committed
test: fix router tests
1 parentddb007e commit7937c75

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

‎generator/codemods/router/__testfixtures__/create-history.input.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const routes = [
1717
constrouter=newVueRouter({
1818
mode:'history',
1919
base:process.env.BASE_URL,
20-
routes,
20+
routes
2121
});
2222

2323
exportdefaultrouter;

‎generator/codemods/router/__testfixtures__/create-history.output.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const routes = [
1717
constrouter=createRouter({
1818
history:createWebHistory(),
1919
base:process.env.BASE_URL,
20-
routes,
20+
routes
2121
});
2222

2323
exportdefaultrouter;

‎generator/codemods/router/__testfixtures__/create-router.input.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const routes = [
1616

1717
constrouter=newVueRouter({
1818
base:process.env.BASE_URL,
19-
routes,
19+
routes
2020
});
2121

2222
exportdefaultrouter;

‎generator/codemods/router/__testfixtures__/create-router.output.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import{createRouter}from'vue-router';
22
importHomefrom'../views/Home.vue';
3-
importAboutfrom'../views/About.vue';
43

54
constroutes=[
65
{
@@ -17,7 +16,7 @@ const routes = [
1716

1817
constrouter=createRouter({
1918
base:process.env.BASE_URL,
20-
routes,
19+
routes
2120
});
2221

2322
exportdefaultrouter;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp