Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions test/e2e/skip-trailing-slash-redirect/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import { join } from 'path'
import cheerio from 'cheerio'
import webdriver from 'next-webdriver'

console.log('does test-deploy pass?')

Comment on lines +8 to +9
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
console.log('does test-deploy pass?')

A debugging console.log statement was accidentally left in the test file and should be removed.

View Details

Analysis

Temporary debugging console.log left in test file

What fails: test/e2e/skip-trailing-slash-redirect/index.test.ts contains console.log('does test-deploy pass?') at line 8 that pollutes test output with no diagnostic value.

How to reproduce:

# Run the test file
pnpm test test/e2e/skip-trailing-slash-redirect/index.test.ts

Result: Console output includes "does test-deploy pass?" - a meaningless question string that provides no debugging information.

Expected: Test output should be clean. The console.log was added in commit dcc37f4 with message "noop: test-deploy" to debug CI workflow but was never removed. Unlike other console.log statements in test files that log actual values or state, this one only outputs a question string.

describe('skip-trailing-slash-redirect', () => {
let next: NextInstance

Expand Down
Loading