-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(cli): use snapshots to match list of commands in help
Signed-off-by: Miroslav Bajtoš <[email protected]>
- Loading branch information
Showing
2 changed files
with
46 additions
and
14 deletions.
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
packages/cli/snapshots/integration/cli/cli.integration.snapshots.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,43 @@ | ||
// IMPORTANT | ||
// This snapshot file is auto-generated, but designed for humans. | ||
// It should be checked into source control and tracked carefully. | ||
// Re-generate by setting UPDATE_SNAPSHOTS=1 and running tests. | ||
// Make sure to inspect the changes in the snapshots below. | ||
// Do not ignore changes! | ||
|
||
'use strict'; | ||
|
||
exports[`cli lists available commands 1`] = ` | ||
Available commands: | ||
lb4 app | ||
lb4 extension | ||
lb4 controller | ||
lb4 datasource | ||
lb4 model | ||
lb4 repository | ||
lb4 service | ||
lb4 example | ||
lb4 openapi | ||
lb4 observer | ||
lb4 interceptor | ||
lb4 discover | ||
lb4 relation | ||
`; | ||
|
||
|
||
exports[`cli prints commands with --help 1`] = ` | ||
Available commands: | ||
lb4 app | ||
lb4 extension | ||
lb4 controller | ||
lb4 datasource | ||
lb4 model | ||
lb4 repository | ||
lb4 service | ||
lb4 example | ||
lb4 openapi | ||
lb4 observer | ||
lb4 interceptor | ||
lb4 discover | ||
lb4 relation | ||
`; |
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