Skip to content

Commit f83a27a

Browse files
committed
test: update wasm fixtures to use next/og instead of @vercel/og
1 parent 6aac5e8 commit f83a27a

File tree

10 files changed

+8
-10
lines changed

10 files changed

+8
-10
lines changed

tests/fixtures/wasm-src/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
"build": "next build"
99
},
1010
"dependencies": {
11-
"@vercel/og": "latest",
1211
"next": "latest",
1312
"react": "18.2.0",
1413
"react-dom": "18.2.0"

tests/fixtures/wasm-src/src/app/og-node/route.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ImageResponse } from '@vercel/og'
1+
import { ImageResponse } from 'next/og'
22

33
export async function GET() {
44
return new ImageResponse(<div>hi</div>, {

tests/fixtures/wasm-src/src/app/og/route.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ImageResponse } from '@vercel/og'
1+
import { ImageResponse } from 'next/og'
22

33
export async function GET() {
44
return new ImageResponse(<div>hi</div>, {

tests/fixtures/wasm-src/src/pages/api/og-wrong-runtime.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// /pages/api/og.jsx
2-
import { ImageResponse } from '@vercel/og'
2+
import { ImageResponse } from 'next/og'
33

44
export default function () {
55
return new ImageResponse(

tests/fixtures/wasm-src/src/pages/api/og.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// /pages/api/og.jsx
2-
import { ImageResponse } from '@vercel/og'
2+
import { ImageResponse } from 'next/og'
33

44
export const config = {
55
runtime: 'edge',

tests/fixtures/wasm/app/og-node/route.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ImageResponse } from '@vercel/og'
1+
import { ImageResponse } from 'next/og'
22

33
export async function GET() {
44
return new ImageResponse(<div>hi</div>, {

tests/fixtures/wasm/app/og/route.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ImageResponse } from '@vercel/og'
1+
import { ImageResponse } from 'next/og'
22

33
export async function GET() {
44
return new ImageResponse(<div>hi</div>, {

tests/fixtures/wasm/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
"build": "next build"
99
},
1010
"dependencies": {
11-
"@vercel/og": "latest",
1211
"next": "latest",
1312
"react": "18.2.0",
1413
"react-dom": "18.2.0"

tests/fixtures/wasm/pages/api/og-wrong-runtime.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// /pages/api/og.jsx
2-
import { ImageResponse } from '@vercel/og'
2+
import { ImageResponse } from 'next/og'
33

44
export default function () {
55
return new ImageResponse(

tests/fixtures/wasm/pages/api/og.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// /pages/api/og.jsx
2-
import { ImageResponse } from '@vercel/og'
2+
import { ImageResponse } from 'next/og'
33

44
export const config = {
55
runtime: 'edge',

0 commit comments

Comments
 (0)