Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes to blueprint constructor test.
- Loading branch information
Showing
4 changed files
with
14 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
test/templates/blueprints/generator-jhipster-throwing-constructor/generators/server/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
module.exports = { createGenerator: env => | ||
class extends env.requireGenerator('jhipster:server') { | ||
constructor(args, opts) { | ||
super(args, opts); | ||
throw new Error('blueprint with error'); | ||
} | ||
} | ||
}; |
File renamed without changes.
36 changes: 0 additions & 36 deletions
36
test/templates/throwing-blueprint/generators/server/index.js
This file was deleted.
Oops, something went wrong.