File tree Expand file tree Collapse file tree 1 file changed +13
-10
lines changed
test/e2e/app-dir/turbopack-loader-resource-query Expand file tree Collapse file tree 1 file changed +13
-10
lines changed Original file line number Diff line number Diff line change 1
1
import { nextTestSetup } from 'e2e-utils'
2
2
3
- describe ( 'turbopack-loader-resource-query' , ( ) => {
4
- const { next } = nextTestSetup ( {
5
- files : __dirname ,
6
- } )
3
+ ; ( process . env . TURBOPACK ? describe : describe . skip ) (
4
+ 'turbopack-loader-resource-query' ,
5
+ ( ) => {
6
+ const { next } = nextTestSetup ( {
7
+ files : __dirname ,
8
+ } )
7
9
8
- // Recommended for tests that check HTML. Cheerio is a HTML parser that has a jQuery like API.
9
- it ( 'should pass query to loader' , async ( ) => {
10
- await next . render$ ( '/' )
10
+ // Recommended for tests that check HTML. Cheerio is a HTML parser that has a jQuery like API.
11
+ it ( 'should pass query to loader' , async ( ) => {
12
+ await next . render$ ( '/' )
11
13
12
- expect ( next . cliOutput ) . toContain ( 'resource query: ?test=hi' )
13
- } )
14
- } )
14
+ expect ( next . cliOutput ) . toContain ( 'resource query: ?test=hi' )
15
+ } )
16
+ }
17
+ )
You can’t perform that action at this time.
0 commit comments