-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A few enhancements including: - consistent usage of `grDevices::pdf(nullfile())` replacing `grDevices::pdf()` - a follow-up on #203 - better catch errors in the test `"type_download_srv_table: pagination, lpp to small"` - DRY for `plot_types` variable - remove `expect_download`. This is not _only_ expectation that the downloadable link exists but it also downloads the file and run snapshot testing on it. The problem is that this file is named from sys time on the moment of test run (e.g. `tests/testthat/_snaps/app_driver_pws_ui/pws-001-plot_20240805_034140.png`) which creates a new file every time you run the test (that's why our integration test fails). Moreover, I believe that this is not the intend of that unit test to test regression of a dummy plot. --------- Signed-off-by: Pawel Rucki <[email protected]>
- Loading branch information
Showing
7 changed files
with
22 additions
and
32 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
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