/
githubmirror
/
next.js
Обзор
Документация
Войти
/
githubmirror
/
next.js
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
canary
test/e2e/app-dir/proxy-runtime-nodejs/proxy-runtime-nodejs.test.ts
12 строк
342 B
Niklas Mischkulnig
Only allow node runtime in proxy (#85139)
22 окт 2025, 02:06
Не верифицирован
22 окт 2025, 02:06
074262b
Код
Авторство
О чём код?
import { nextTestSetup } from 'e2e-utils' describe('proxy-runtime-nodejs', () => { const { next } = nextTestSetup({ files: __dirname, }) it('should use nodejs runtime for proxy by default', async () => { const browser = await next.browser('/foo') expect(await browser.elementByCss('p').text()).toBe('hello world') }) })