next.js/test/e2e/app-dir/proxy-runtime-nodejs/proxy-runtime-nodejs.test.ts
proxy-runtime-nodejs.test.ts13 lines342 B
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')
  })
})
Quest for Codev2.0.0
/
SIGN IN