mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
chore: mark @nuxt/test-utils
package as external group (#19419)
This commit is contained in:
parent
842c4e635d
commit
93c31cfd5b
10
.eslintrc
10
.eslintrc
@ -24,6 +24,16 @@
|
|||||||
"jsdoc/require-returns": "off",
|
"jsdoc/require-returns": "off",
|
||||||
"jsdoc/require-param-type": "off",
|
"jsdoc/require-param-type": "off",
|
||||||
"no-redeclare": "off",
|
"no-redeclare": "off",
|
||||||
|
"import/order": [
|
||||||
|
"error", {
|
||||||
|
"pathGroups": [
|
||||||
|
{
|
||||||
|
"pattern": "@nuxt/test-utils",
|
||||||
|
"group": "external"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
"import/no-restricted-paths": [
|
"import/no-restricted-paths": [
|
||||||
"error",
|
"error",
|
||||||
{
|
{
|
||||||
|
@ -3,7 +3,6 @@ import { describe, expect, it } from 'vitest'
|
|||||||
import { joinURL, withQuery } from 'ufo'
|
import { joinURL, withQuery } from 'ufo'
|
||||||
import { isCI, isWindows } from 'std-env'
|
import { isCI, isWindows } from 'std-env'
|
||||||
import { normalize } from 'pathe'
|
import { normalize } from 'pathe'
|
||||||
// eslint-disable-next-line import/order
|
|
||||||
import { setup, fetch, $fetch, startServer, isDev, createPage, url } from '@nuxt/test-utils'
|
import { setup, fetch, $fetch, startServer, isDev, createPage, url } from '@nuxt/test-utils'
|
||||||
|
|
||||||
import type { NuxtIslandResponse } from '../packages/nuxt/src/core/runtime/nitro/renderer'
|
import type { NuxtIslandResponse } from '../packages/nuxt/src/core/runtime/nitro/renderer'
|
||||||
|
@ -3,7 +3,6 @@ import { fileURLToPath } from 'node:url'
|
|||||||
import { describe, expect, it } from 'vitest'
|
import { describe, expect, it } from 'vitest'
|
||||||
import { isWindows } from 'std-env'
|
import { isWindows } from 'std-env'
|
||||||
import { join } from 'pathe'
|
import { join } from 'pathe'
|
||||||
// eslint-disable-next-line import/order
|
|
||||||
import { setup, $fetch } from '@nuxt/test-utils'
|
import { setup, $fetch } from '@nuxt/test-utils'
|
||||||
|
|
||||||
import { expectWithPolling, renderPage } from './utils'
|
import { expectWithPolling, renderPage } from './utils'
|
||||||
|
Loading…
Reference in New Issue
Block a user