Skip to content

Commit 8d2ec9b

Browse files
committed
test: remove unused variable in screenshotOnFail test
Apply Copilot review suggestion to remove the unused originalSaveScreenshot variable that was assigned but never used.
1 parent e2eb4f9 commit 8d2ec9b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

test/unit/plugin/screenshotOnFail_test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ describe('screenshotOnFail', () => {
147147
savedFilenames = []
148148

149149
// Override screenshotSaved to capture filenames
150-
const originalSaveScreenshot = screenshotSaved
151150
screenshotSaved = sinon.stub().callsFake(filename => {
152151
savedFilenames.push(filename)
153152
return Promise.resolve()

0 commit comments

Comments
 (0)