Skip to content

Commit da5b65a

Browse files
committed
fix formatting
1 parent 98e7d26 commit da5b65a

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

packages/nuxt/test/vite/nitroVersion.test.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,11 @@ describe('getNitroMajorVersion', () => {
5555

5656
it('detects v3 through @nuxt/nitro-server when it depends on nitro (Nuxt 5)', async () => {
5757
const appDir = createApp('nuxt-5', {
58-
nuxt: { name: 'nuxt', version: '5.0.0', dependencies: { '@nuxt/nitro-server': 'npm:@nuxt/nitro-server-nightly' } },
58+
nuxt: {
59+
name: 'nuxt',
60+
version: '5.0.0',
61+
dependencies: { '@nuxt/nitro-server': 'npm:@nuxt/nitro-server-nightly' },
62+
},
5963
'@nuxt/nitro-server': {
6064
name: '@nuxt/nitro-server-nightly',
6165
version: '5.0.0-nightly',
@@ -78,7 +82,11 @@ describe('getNitroMajorVersion', () => {
7882

7983
it('falls back to v3 when the declared nitro package has no readable version (stub package)', async () => {
8084
const appDir = createApp('nuxt-5-stub', {
81-
nuxt: { name: 'nuxt', version: '5.0.0', dependencies: { '@nuxt/nitro-server': 'npm:@nuxt/nitro-server-nightly' } },
85+
nuxt: {
86+
name: 'nuxt',
87+
version: '5.0.0',
88+
dependencies: { '@nuxt/nitro-server': 'npm:@nuxt/nitro-server-nightly' },
89+
},
8290
'@nuxt/nitro-server': {
8391
name: '@nuxt/nitro-server-nightly',
8492
version: '5.0.0-nightly',

0 commit comments

Comments
 (0)