@@ -159,7 +159,7 @@ describe('app dir next-font', () => {
159
159
} )
160
160
161
161
if ( ! isDev ) {
162
- describe ( 'preload' , ( ) => {
162
+ describe . only ( 'preload' , ( ) => {
163
163
it ( 'should preload correctly with server components' , async ( ) => {
164
164
const html = await renderViaHTTP ( next . url , '/' )
165
165
const $ = cheerio . load ( html )
@@ -188,7 +188,7 @@ describe('app dir next-font', () => {
188
188
as : 'font' ,
189
189
crossorigin : 'anonymous' ,
190
190
"data-next-font" : 'size-adjust' ,
191
- href : '/_next/static/media/b2104791981359ae -s.p.woff2' ,
191
+ href : '/_next/static/media/e9b9dc0d8ba35f48 -s.p.woff2' ,
192
192
rel : 'preload' ,
193
193
type : 'font/woff2' ,
194
194
} )
@@ -216,15 +216,15 @@ describe('app dir next-font', () => {
216
216
as : 'font' ,
217
217
crossorigin : 'anonymous' ,
218
218
"data-next-font" : 'size-adjust' ,
219
- href : '/_next/static/media/e1053f04babc7571 .p.woff2' ,
219
+ href : '/_next/static/media/feab2c68f2a8e9a4-s .p.woff2' ,
220
220
rel : 'preload' ,
221
221
type : 'font/woff2' ,
222
222
} )
223
223
expect ( $ ( 'link[as="font"]' ) . get ( 2 ) . attribs ) . toEqual ( {
224
224
as : 'font' ,
225
225
crossorigin : 'anonymous' ,
226
226
"data-next-font" : 'size-adjust' ,
227
- href : '/_next/static/media/feab2c68f2a8e9a4 .p.woff2' ,
227
+ href : '/_next/static/media/e9b9dc0d8ba35f48-s .p.woff2' ,
228
228
rel : 'preload' ,
229
229
type : 'font/woff2' ,
230
230
} )
@@ -252,7 +252,7 @@ describe('app dir next-font', () => {
252
252
as : 'font' ,
253
253
crossorigin : 'anonymous' ,
254
254
"data-next-font" : 'size-adjust' ,
255
- href : '/_next/static/media/75c5faeeb9c86969 .p.woff2' ,
255
+ href : '/_next/static/media/e9b9dc0d8ba35f48-s .p.woff2' ,
256
256
rel : 'preload' ,
257
257
type : 'font/woff2' ,
258
258
} )
@@ -280,7 +280,7 @@ describe('app dir next-font', () => {
280
280
as : 'font' ,
281
281
crossorigin : 'anonymous' ,
282
282
"data-next-font" : 'size-adjust' ,
283
- href : '/_next/static/media/568e4c6d8123c4d6 .p.woff2' ,
283
+ href : '/_next/static/media/e9b9dc0d8ba35f48-s .p.woff2' ,
284
284
rel : 'preload' ,
285
285
type : 'font/woff2' ,
286
286
} )
0 commit comments