@@ -116,10 +116,10 @@ describe('util', () => {
116
116
[ '18.0.0' , 'Next.js 18.0.0' ] ,
117
117
[ '20.0.0' , 'Next.js 20.0.0' ] ,
118
118
119
- // Next.js 15.6.0-canary.38 + (boundary case)
120
- [ '15.6.0-canary.38 ' , 'Next.js 15.6.0-canary.38 (exact threshold)' ] ,
121
- [ '15.6.0-canary.39 ' , 'Next.js 15.6.0-canary.39 ' ] ,
122
- [ '15.6.0-canary.40 ' , 'Next.js 15.6.0-canary.40 ' ] ,
119
+ // Next.js 15.6.0-canary.40 + (boundary case)
120
+ [ '15.6.0-canary.40 ' , 'Next.js 15.6.0-canary.40 (exact threshold)' ] ,
121
+ [ '15.6.0-canary.41 ' , 'Next.js 15.6.0-canary.41 ' ] ,
122
+ [ '15.6.0-canary.42 ' , 'Next.js 15.6.0-canary.42 ' ] ,
123
123
[ '15.6.0-canary.100' , 'Next.js 15.6.0-canary.100' ] ,
124
124
125
125
// Next.js 15.7+ canary versions
@@ -134,10 +134,10 @@ describe('util', () => {
134
134
135
135
describe ( 'returns false for versions where webpack is still default' , ( ) => {
136
136
it . each ( [
137
- // Next.js 15.6.0-canary.37 and below
138
- [ '15.6.0-canary.37 ' , 'Next.js 15.6.0-canary.37 (just below threshold)' ] ,
137
+ // Next.js 15.6.0-canary.39 and below
138
+ [ '15.6.0-canary.39 ' , 'Next.js 15.6.0-canary.39 (just below threshold)' ] ,
139
139
[ '15.6.0-canary.36' , 'Next.js 15.6.0-canary.36' ] ,
140
- [ '15.6.0-canary.1 ' , 'Next.js 15.6.0-canary.1 ' ] ,
140
+ [ '15.6.0-canary.38 ' , 'Next.js 15.6.0-canary.38 ' ] ,
141
141
[ '15.6.0-canary.0' , 'Next.js 15.6.0-canary.0' ] ,
142
142
143
143
// Next.js 15.6.x stable releases (NOT canary)
@@ -198,12 +198,12 @@ describe('util', () => {
198
198
expect ( ( ) => util . isTurbopackDefaultForVersion ( version ) ) . not . toThrow ( ) ;
199
199
} ) ;
200
200
201
- it ( 'handles canary.38 exactly (boundary)' , ( ) => {
202
- expect ( util . isTurbopackDefaultForVersion ( '15.6.0-canary.38 ' ) ) . toBe ( true ) ;
201
+ it ( 'handles canary.40 exactly (boundary)' , ( ) => {
202
+ expect ( util . isTurbopackDefaultForVersion ( '15.6.0-canary.40 ' ) ) . toBe ( true ) ;
203
203
} ) ;
204
204
205
- it ( 'handles canary.37 exactly (boundary)' , ( ) => {
206
- expect ( util . isTurbopackDefaultForVersion ( '15.6.0-canary.37 ' ) ) . toBe ( false ) ;
205
+ it ( 'handles canary.39 exactly (boundary)' , ( ) => {
206
+ expect ( util . isTurbopackDefaultForVersion ( '15.6.0-canary.39 ' ) ) . toBe ( false ) ;
207
207
} ) ;
208
208
} ) ;
209
209
} ) ;
@@ -238,8 +238,8 @@ describe('util', () => {
238
238
expect ( util . detectActiveBundler ( '17.0.0' ) ) . toBe ( 'turbopack' ) ;
239
239
} ) ;
240
240
241
- it ( 'returns turbopack for Next.js 15.6.0-canary.38 +' , ( ) => {
242
- expect ( util . detectActiveBundler ( '15.6.0-canary.38 ' ) ) . toBe ( 'turbopack' ) ;
241
+ it ( 'returns turbopack for Next.js 15.6.0-canary.40 +' , ( ) => {
242
+ expect ( util . detectActiveBundler ( '15.6.0-canary.40 ' ) ) . toBe ( 'turbopack' ) ;
243
243
expect ( util . detectActiveBundler ( '15.6.0-canary.50' ) ) . toBe ( 'turbopack' ) ;
244
244
} ) ;
245
245
0 commit comments