import { nextTestSetup } from 'e2e-utils'
describe('next-config-ts-node-api-cjs', () => {
const { next } = nextTestSetup({
files: __dirname,
})
it('should be able to use Node.js API (CJS)', async () => {
const $ = await next.render$('/')
expect($('p').text()).toBe('foo')
})
})