gorkang / jsPsychHelpeR

https://gorkang.github.io/jsPsychR-manual/index.html
Other
2 stars 0 forks source link

Create and remove snapshots should be part of run_initial_setup()? #11

Open gorkang opened 3 years ago

gorkang commented 3 years ago

Should add the output of these lines to test-snapshots.R:

  # CREATE SNAPSHOTS TEST LINES
    # FILES_TO_SNAPSHOT = list.files(path = "outputs/data", pattern = "df_.*csv$", full.names = TRUE, ignore.case = FALSE)
    # FILES_TO_SNAPSHOT %>% walk(~ cat(paste0('testthat::expect_snapshot_file(here::here("', .x, '"))\n')))

Right now, the system checks for all the snapshots of canonical protocol!