We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b55febf commit 25377d9Copy full SHA for 25377d9
tests/testthat/test-snapshot-file.R
@@ -1,3 +1,8 @@
1
+test_that("diagonstics", {
2
+ expect_snapshot(str(as.list(Sys.getenv())))
3
+ expect_snapshot(readLines("/github/workflow/event.json"))
4
+})
5
+
6
test_that("expect_snapshot_file works", {
7
path <- write_tmp_lines(letters)
8
expect_snapshot_file(path, "foo.r", compare = compare_file_text)
0 commit comments