File tree Expand file tree Collapse file tree 4 files changed +28
-0
lines changed
cli-plugin-e2e-nightwatch Expand file tree Collapse file tree 4 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,13 @@ module.exports = (api, options) => {
56
56
57
57
return runner
58
58
} )
59
+
60
+ // TODO remove in RC
61
+ api . registerCommand ( 'e2e' , ( args , rawArgv ) => {
62
+ const { warn } = require ( '@vue/cli-shared-utils' )
63
+ warn ( `Deprecation Warning: "vue-cli-service e2e" has been renamed to "vue-cli-service test:e2e".` )
64
+ return api . service . run ( 'test:e2e' , args , rawArgv )
65
+ } )
59
66
}
60
67
61
68
module . exports . defaultModes = {
Original file line number Diff line number Diff line change @@ -67,6 +67,13 @@ module.exports = (api, options) => {
67
67
return runner
68
68
} )
69
69
} )
70
+
71
+ // TODO remove in RC
72
+ api . registerCommand ( 'e2e' , ( args , rawArgv ) => {
73
+ const { warn } = require ( '@vue/cli-shared-utils' )
74
+ warn ( `Deprecation Warning: "vue-cli-service e2e" has been renamed to "vue-cli-service test:e2e".` )
75
+ return api . service . run ( 'test:e2e' , args , rawArgv )
76
+ } )
70
77
}
71
78
72
79
module . exports . defaultModes = {
Original file line number Diff line number Diff line change @@ -31,6 +31,13 @@ module.exports = api => {
31
31
} )
32
32
} )
33
33
} )
34
+
35
+ // TODO remove in RC
36
+ api . registerCommand ( 'test' , ( args , rawArgv ) => {
37
+ const { warn } = require ( '@vue/cli-shared-utils' )
38
+ warn ( `Deprecation Warning: "vue-cli-service test" has been renamed to "vue-cli-service test:unit".` )
39
+ return api . service . run ( 'test:unit' , args , rawArgv )
40
+ } )
34
41
}
35
42
36
43
module . exports . defaultModes = {
Original file line number Diff line number Diff line change @@ -72,6 +72,13 @@ module.exports = api => {
72
72
} )
73
73
} )
74
74
} )
75
+
76
+ // TODO remove in RC
77
+ api . registerCommand ( 'test' , ( args , rawArgv ) => {
78
+ const { warn } = require ( '@vue/cli-shared-utils' )
79
+ warn ( `Deprecation Warning: "vue-cli-service test" has been renamed to "vue-cli-service test:unit".` )
80
+ return api . service . run ( 'test:unit' , args , rawArgv )
81
+ } )
75
82
}
76
83
77
84
module . exports . defaultModes = {
You can’t perform that action at this time.
0 commit comments