You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/e2e/app-dir/loader-file-named-export-custom-loader-error/loader-file-named-export-custom-loader-error.test.ts
+36-20Lines changed: 36 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -10,28 +10,44 @@ async function testDev(browser, errorRegex) {
10
10
}
11
11
12
12
describe('Error test if the loader file export a named function',()=>{
13
-
const{ next, isNextDev }=nextTestSetup({
14
-
skipDeployment: true,
15
-
skipStart: true,
16
-
files: __dirname,
17
-
})
18
-
19
-
if(isNextDev){
20
-
it('should show the error when using `Image` component',async()=>{
21
-
constbrowser=awaitnext.browser('/')
22
-
awaittestDev(browser,errorMessage)
13
+
describe('in Development',()=>{
14
+
const{ next, isNextDev }=nextTestSetup({
15
+
skipDeployment: true,
16
+
files: __dirname,
23
17
})
24
18
25
-
it('should show the error when using `getImageProps` method',async()=>{
0 commit comments