mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-22 11:22:43 +00:00
fix: imports
This commit is contained in:
parent
78649f6662
commit
cbdbd6d9ef
@ -1,14 +1,13 @@
|
|||||||
import { fileURLToPath } from 'node:url'
|
import { fileURLToPath } from 'node:url'
|
||||||
import { afterEach, describe, expect, it, vi } from 'vitest'
|
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'
|
||||||
import { normalize } from 'pathe'
|
import { normalize } from 'pathe'
|
||||||
import { withoutTrailingSlash } from 'ufo'
|
import { withoutTrailingSlash } from 'ufo'
|
||||||
import { readPackageJSON } from 'pkg-types'
|
import { readPackageJSON } from 'pkg-types'
|
||||||
import { inc } from 'semver'
|
import { inc } from 'semver'
|
||||||
import { asyncNameStorage, useNuxt } from '@nuxt/kit'
|
import { asyncNameStorage, logger, useNuxt } from '@nuxt/kit'
|
||||||
import { loadNuxt } from '../src'
|
import { loadNuxt } from '../src'
|
||||||
import { version } from '../package.json'
|
import { version } from '../package.json'
|
||||||
import { logger } from '@nuxt/kit'
|
|
||||||
import { beforeEach } from 'node:test'
|
|
||||||
const repoRoot = withoutTrailingSlash(normalize(fileURLToPath(new URL('../../../', import.meta.url))))
|
const repoRoot = withoutTrailingSlash(normalize(fileURLToPath(new URL('../../../', import.meta.url))))
|
||||||
|
|
||||||
vi.stubGlobal('console', {
|
vi.stubGlobal('console', {
|
||||||
|
Loading…
Reference in New Issue
Block a user