diff options
Diffstat (limited to 'lib/e2e/project.rb')
| -rw-r--r-- | lib/e2e/project.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/e2e/project.rb b/lib/e2e/project.rb index a90dfd6..d2d56bc 100644 --- a/lib/e2e/project.rb +++ b/lib/e2e/project.rb @@ -9,6 +9,10 @@ class Project @path = Pathname(path) end + def report_for(type:) + JSON.parse(path.join("gl-#{type}-report.json").read) + end + def mount(dir:) FileUtils.cp_r("#{dir}/.", path) end |
