Skip to content

Commit 91b5687

Browse files
committed
test: correct edge function name for turbopack/webpack builds
1 parent f83a27a commit 91b5687

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/utils/fixture.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,6 @@ export async function invokeSandboxedFunction(
571571
export const EDGE_MIDDLEWARE_FUNCTION_NAME = '___netlify-edge-handler-middleware'
572572
// Turbopack has different output than webpack
573573
export const EDGE_MIDDLEWARE_SRC_FUNCTION_NAME = hasDefaultTurbopackBuilds()
574-
? '___netlify-edge-handler-src-middleware'
575-
: EDGE_MIDDLEWARE_FUNCTION_NAME
574+
? EDGE_MIDDLEWARE_FUNCTION_NAME
575+
: '___netlify-edge-handler-src-middleware'
576576
export const NODE_MIDDLEWARE_FUNCTION_NAME = '___netlify-edge-handler-node-middleware'

0 commit comments

Comments
 (0)