Skip to content

Commit

Permalink
Updated snaps
Browse files Browse the repository at this point in the history
  • Loading branch information
nschcolnicov committed Dec 3, 2024
1 parent bd419d4 commit 0f88731
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 358 deletions.
1 change: 1 addition & 0 deletions tests/test_build.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ nextflow_pipeline {
when {
params {
outdir = "$outputDir"
all = false // Output files when running all are too big for CI
}
}

Expand Down
2 changes: 1 addition & 1 deletion tests/test_build.nf.test.snap
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@
"nf-test": "0.9.0",
"nextflow": "24.10.2"
},
"timestamp": "2024-12-03T15:04:03.186303848"
"timestamp": "2024-12-03T19:26:00.897559313"
}
}
4 changes: 2 additions & 2 deletions tests/test_stub.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ nextflow_pipeline {
// Ignore files with timestamps in their names
def stable_name = getAllFilesFromDir(params.outdir, relative: true, includeDir: true, ignore: ['pipeline_info/*.{html,json,txt}'])
// stable_path: All files in ${params.outdir}/ with stable content
def stable_path = getAllFilesFromDir(params.outdir, ignoreFile: 'tests/.nftignore')
// def stable_path = getAllFilesFromDir(params.outdir, ignoreFile: 'tests/.nftignore') //TODO uncomment once -stub is removed
assertAll(
{ assert workflow.success},
{ assert snapshot(
Expand All @@ -63,7 +63,7 @@ nextflow_pipeline {
// All stable path name, with a relative path
stable_name,
// All files with stable contents
stable_path
// stable_path // TODO uncomment once -stub is removed
).match() }
)
}
Expand Down
Loading

0 comments on commit 0f88731

Please sign in to comment.