next.js/test/e2e/app-dir/externalize-node-binary/externalize-node-binary.test.ts
externalize-node-binary.test.ts17 lines523 B
import { nextTestSetup } from 'e2e-utils'

// FIXME: er-enable when we have a better implementation of node binary resolving
describe.skip('externalize-node-binary', () => {
  const { next } = nextTestSetup({
    files: __dirname,
  })

  it('should render correctly when node_modules require node binary module', async () => {
    const { status } = await next.fetch('/')
    expect(status).toBe(200)

    const browser = await next.browser('/')
    expect(await browser.elementByCss('p').text()).toBe('I am foo')
  })
})
Quest for Codev2.0.0
/
SIGN IN