mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +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) {
|
||||
const ctx = useTestContext()
|
||||
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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user