From 4eb1081bfa2fc4adf72e973dd56264136b184fc3 Mon Sep 17 00:00:00 2001 From: Steven Kitterman Date: Fri, 27 Oct 2023 13:59:53 -0700 Subject: [PATCH] Better comments --- src/cypress-api/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cypress-api/index.ts b/src/cypress-api/index.ts index 8e39e798..687f4487 100644 --- a/src/cypress-api/index.ts +++ b/src/cypress-api/index.ts @@ -37,6 +37,7 @@ const doArchive = async ({ { title: testTitle, // doesn't matter what value we put here, as long as it's a subdirectory of where we want this to actually go + // TODO: change so we don't have to do this trickery outputDir: './some', }, allSnapshots, @@ -89,7 +90,6 @@ export const completeArchive = () => { cy.get('@archive').then((archive) => { // can we be sure this always fires after all the requests are back? cy.document().then((doc) => { - // here, handle the source map const snap = snapshot(doc, { noAbsolute: true }); cy.get('@manualSnapshots').then((manualSnapshots = []) => { // pass the snapshot to the server to write to disk