-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update code static analysis; update tests with new changes (#27)
* chore: update code static analysis Signed-off-by: Christopher Phillips <[email protected]> * test: update tests to new workflow Signed-off-by: Christopher Phillips <[email protected]> * feat: add snapshot directory for ui tests Signed-off-by: Christopher Phillips <[email protected]> * coverage: update coverage for future testing Signed-off-by: Christopher Phillips <[email protected]> --------- Signed-off-by: Christopher Phillips <[email protected]>
- Loading branch information
Showing
9 changed files
with
80 additions
and
67 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
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
40 changes: 40 additions & 0 deletions
40
cmd/grant/cli/internal/ui/__snapshots__/post_ui_event_writer_test.snap
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,40 @@ | ||
|
||
[Test_postUIEventWriter_write/no_events/stdout - 1] | ||
|
||
--- | ||
|
||
[Test_postUIEventWriter_write/no_events/stderr - 1] | ||
|
||
--- | ||
|
||
[Test_postUIEventWriter_write/all_events/stdout - 1] | ||
|
||
|
||
<my -- | ||
- | ||
- | ||
report 1!!> | ||
<report 2> | ||
|
||
--- | ||
|
||
[Test_postUIEventWriter_write/all_events/stderr - 1] | ||
|
||
|
||
<my notification 1!! | ||
...still notifying> | ||
|
||
|
||
<notification 2> | ||
<notification 3> | ||
|
||
--- | ||
|
||
[Test_postUIEventWriter_write/quiet_only_shows_report/stdout - 1] | ||
<report 1> | ||
|
||
--- | ||
|
||
[Test_postUIEventWriter_write/quiet_only_shows_report/stderr - 1] | ||
|
||
--- |
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
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
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
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
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
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