Skip to content

Commit 53fd219

Browse files
committed
list next version when creating isolated integration fixture
1 parent 4412893 commit 53fd219

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/utils/fixture.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@ export const createFixture = async (fixture: string, ctx: FixtureTestContext) =>
150150
)
151151

152152
await installDependencies(ctx.cwd)
153+
154+
await execaCommand(`npm list next`, { cwd: ctx.cwd, stdio: 'inherit' })
153155
} catch (error) {
154156
throw new Error(`could not prepare the fixture: ${fixture}. ${error}`)
155157
}

0 commit comments

Comments
 (0)