Perhaps I'm missing something obvious, but this te...
# nf-test
j
Perhaps I'm missing something obvious, but this test is simply not getting a snapshot written to a file. Can anyone see why?
Copy code
test("homo_sapiens - pacbio - hifi - fastq - stub") {

        options "-stub"

        when {
            params {
                module_args = '--hifi'
            }
            process {
                """
                input[0] = [
                    [ id:'test_stub' ],
                    file(params.modules_testdata_base_path + 'genomics/homo_sapiens/pacbio/fastq/test_hifi.fastq.gz', checkIfExists:true)
                ]
                """
            }
        }

        then {
            assertAll(
                { assert process.success },
                { assert snapshot(sanitizeOutput(process.out, ignoreKeys: ["results"])) }
            )
        }

    }
process.out
exists, I can print it
NO
.match()
🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️
🤣 1