Skip to content

Commit

Permalink
Stop importing from next/dist/bin/next (vercel#68830)
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon authored Aug 13, 2024
1 parent b2e898d commit 132c5cd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/production/build-spinners/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,10 @@ describe('build-spinners', () => {

const appDir = next.testDir

const nextBin = resolveFrom(appDir, 'next/dist/bin/next')
const ptyPath = resolveFrom(appDir, 'node-pty')
const pty = require(ptyPath)
const output = []
const ptyProcess = pty.spawn(process.execPath, [nextBin, 'build'], {
const ptyProcess = pty.spawn('pnpm', ['next', 'build'], {
name: 'xterm-color',
cols: 80,
rows: 30,
Expand Down

0 comments on commit 132c5cd

Please sign in to comment.