mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 23:22:02 +00:00
chore(test-utils): error message typo (#6203)
This commit is contained in:
parent
748b063afa
commit
943dc0e16e
@ -71,7 +71,7 @@ export function $fetch (path: string, options?: FetchOptions) {
|
|||||||
export function url (path: string) {
|
export function url (path: string) {
|
||||||
const ctx = useTestContext()
|
const ctx = useTestContext()
|
||||||
if (!ctx.url) {
|
if (!ctx.url) {
|
||||||
throw new Error('url is not availabe (is server option enabled?)')
|
throw new Error('url is not available (is server option enabled?)')
|
||||||
}
|
}
|
||||||
return ctx.url + path
|
return ctx.url + path
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user