-
-
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.
Add tests for --no-default and --no-default --json
Squashed from several commits while figuring out what was going on: Remove unnecessary replacements Back in 7835a7d there was no `FILTER` at the top but now that there is, these settings are not in the output. Remove confusing cleanupJsonOutput method This does not support ndjson so in all tests (prior to this PR) it was failing to parse the JSON and not actually executing most of the method body. Now that one of the new tests returns only a single line of JSON this 'resurrected' this dead broken method causing tests to fail. Instead use the same cleanup method for all cases, which is what has been happening anyway (due to the fallback in the `catch`) Add the remaining to snapshots now the tests are fixed
- Loading branch information
Tom Sparrow
committed
Dec 17, 2024
1 parent
c020664
commit fbf7c38
Showing
2 changed files
with
147 additions
and
43 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