Skip to content

Commit f895b72

Browse files
authored
Fix url-imports test on 15-5 (#84966)
Was fixed on canary in #84922 Very annoying test setup
1 parent 81f530d commit f895b72

File tree

7 files changed

+7
-6
lines changed

7 files changed

+7
-6
lines changed

test/e2e/app-dir/back-forward-cache/app/page.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// @ts-ignore -- the latest @types/react don't have this anymore
12
import { unstable_Activity as Activity } from 'react'
23

34
export default function Page() {

test/integration/url-imports/next.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module.exports = {
22
experimental: {
33
urlImports: [
44
'http://localhost:12345/',
5-
'https://github.com/vercel/next.js/raw/canary/',
5+
'https://github.com/vercel/next.js/raw/next-15-5/',
66
],
77
},
88
}

test/integration/url-imports/pages/css.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.main {
2-
background: url('https://github.com/vercel/next.js/raw/canary/test/integration/url/public/vercel.png');
2+
background: url('https://github.com/vercel/next.js/raw/next-15-5/test/integration/url/public/vercel.png');
33
background-size: contain;
44
width: 300px;
55
height: 300px;

test/integration/url-imports/pages/image.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import Image from 'next/image'
2-
import logo from 'https://github.com/vercel/next.js/raw/canary/test/integration/url/public/vercel.png?_=image'
2+
import logo from 'https://github.com/vercel/next.js/raw/next-15-5/test/integration/url/public/vercel.png?_=image'
33

44
export default () => (
55
<div>

test/integration/url-imports/pages/ssg.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import value from 'http://localhost:12345/value1.js'
22

33
const url = new URL(
4-
'https://github.com/vercel/next.js/raw/canary/test/integration/url/public/vercel.png?_=ssg',
4+
'https://github.com/vercel/next.js/raw/next-15-5/test/integration/url/public/vercel.png?_=ssg',
55
import.meta.url
66
)
77

test/integration/url-imports/pages/ssr.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import value from 'http://localhost:12345/value2.js'
22

33
const url = new URL(
4-
'https://github.com/vercel/next.js/raw/canary/test/integration/url/public/vercel.png?_=ssr',
4+
'https://github.com/vercel/next.js/raw/next-15-5/test/integration/url/public/vercel.png?_=ssr',
55
import.meta.url
66
)
77

test/integration/url-imports/pages/static.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import value from 'http://localhost:12345/value3.js'
22

33
const url = new URL(
4-
'https://github.com/vercel/next.js/raw/canary/test/integration/url/public/vercel.png?_=static',
4+
'https://github.com/vercel/next.js/raw/next-15-5/test/integration/url/public/vercel.png?_=static',
55
import.meta.url
66
)
77

0 commit comments

Comments
 (0)