mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
17 lines
523 B
TypeScript
17 lines
523 B
TypeScript
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')
|
|
})
|
|
})
|