first commit
This commit is contained in:
6
ui/generators/new/e2e/e2e.ejs.t
Normal file
6
ui/generators/new/e2e/e2e.ejs.t
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
to: tests/e2e/specs/<%= h.changeCase.kebab(name) %>.e2e.js
|
||||
---
|
||||
describe('<%= h.changeCase.pascal(name) %>', () => {
|
||||
|
||||
})
|
||||
13
ui/generators/new/e2e/prompt.js
Normal file
13
ui/generators/new/e2e/prompt.js
Normal file
@@ -0,0 +1,13 @@
|
||||
module.exports = [
|
||||
{
|
||||
type: 'input',
|
||||
name: 'name',
|
||||
message: 'Name:',
|
||||
validate(value) {
|
||||
if (!value.length) {
|
||||
return 'Components must have a name.'
|
||||
}
|
||||
return true
|
||||
},
|
||||
},
|
||||
]
|
||||
Reference in New Issue
Block a user