Skip to content

Commit 819d575

Browse files
gaojudeztanner
authored andcommitted
[E2E] Fix config file conflict (#73818)
1 parent 20f5a79 commit 819d575

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integration/telemetry/test/config.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ describe('config telemetry', () => {
137137

138138
it('detects output config for session start', async () => {
139139
await fs.writeFile(
140-
'./next.config.js',
140+
path.join(appDir, 'next.config.js'),
141141
'module.exports = { output: "export" }'
142142
)
143143
try {
@@ -157,7 +157,7 @@ describe('config telemetry', () => {
157157
throw err
158158
}
159159
} finally {
160-
await fs.remove('./next.config.js')
160+
await fs.remove(path.join(appDir, 'next.config.js'))
161161
}
162162
})
163163

0 commit comments

Comments
 (0)