@@ -43,7 +43,7 @@ describe('nuxt composables', () => {
43
43
} )
44
44
45
45
// remove after port upstream.
46
- it . skipIf ( ( isWebpack && isNoResolve ) || isDev ) ( 'updates cookies when they are changed' , async ( ) => {
46
+ it . skipIf ( isDev ) ( 'updates cookies when they are changed' , async ( ) => {
47
47
const { page } = await renderPage ( '/cookies' )
48
48
async function extractCookie ( ) {
49
49
const cookie = await page . evaluate ( ( ) => document . cookie )
@@ -137,9 +137,7 @@ describe('pages', () => {
137
137
138
138
const { page, consoleLogs } = await renderPage ( '/' )
139
139
140
- if ( isWebpack && isNoResolve ) {
141
- expect ( consoleLogs . some ( i => i . type === 'error' ) ) . toBeTruthy ( )
142
- } else if ( isDev ) {
140
+ if ( isDev ) {
143
141
// output [legacy capi] warning
144
142
expect ( consoleLogs . some ( i => i . type === 'warning' ) ) . toBeTruthy ( )
145
143
} else {
@@ -200,9 +198,7 @@ describe('navigate', () => {
200
198
201
199
const { page, consoleLogs } = await renderPage ( '/navigate-to/' )
202
200
203
- if ( isWebpack && isNoResolve ) {
204
- expect ( consoleLogs . some ( i => i . type === 'error' ) ) . toBeTruthy ( )
205
- } else if ( isDev ) {
201
+ if ( isDev ) {
206
202
// output [legacy capi] warning
207
203
expect ( consoleLogs . some ( i => i . type === 'warning' ) ) . toBeTruthy ( )
208
204
} else {
@@ -302,8 +298,7 @@ describe('middleware', () => {
302
298
expect ( html ) . toContain ( 'Navigated successfully' )
303
299
} )
304
300
305
- // if `no-resolve`, an error occurs at `useRoute`.
306
- it . skipIf ( isWebpack && isNoResolve ) ( 'should be output with target as to and origin as from' , async ( ) => {
301
+ it ( 'should be output with target as to and origin as from' , async ( ) => {
307
302
const { page, consoleLogs } = await renderPage ( '/' )
308
303
await page . getByRole ( 'link' ) . click ( )
309
304
0 commit comments