chore(test-utils): error message typo (#6203)

This commit is contained in:
Cédric Exbrayat 2022-07-28 15:40:03 +02:00 committed by GitHub
parent 748b063afa
commit 943dc0e16e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
} }