Skip to content

Commit 3609d31

Browse files
committed
test: adjust version matching for not found in prerender manifest
1 parent 81552f7 commit 3609d31

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/utils/next-version-helpers.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ export function isNextCanary() {
3333
export function shouldHaveAppRouterNotFoundInPrerenderManifest() {
3434
// https://github.com/vercel/next.js/pull/82199
3535

36-
// The canary versions are out of band, as there stable/latest patch versions higher than base of canary versions
37-
// and change was not backported to stable versions
38-
return nextVersionSatisfies('>=15.4.2-canary.33') && isNextCanary()
36+
// The canary versions are out of band, as there stable/latest patch versions higher than base of canary versions without
37+
// the change included
38+
return nextVersionSatisfies(isNextCanary() ? '>=15.4.2-canary.33' : '>=15.5.0')
3939
}
4040

4141
/**

0 commit comments

Comments
 (0)