Skip to content

Commit

Permalink
Better comments
Browse files Browse the repository at this point in the history
  • Loading branch information
skitterm committed Oct 27, 2023
1 parent 1fde781 commit 4eb1081
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cypress-api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4eb1081

Please sign in to comment.