Skip to content

feat: add new regex routing #5804

feat: add new regex routing

feat: add new regex routing #5804

Triggered via pull request April 28, 2024 10:28
Status Failure
Total duration 1m 17s
Artifacts

ci.yml

on: pull_request
Matrix: build
Matrix: lint
Matrix: test
Matrix: edge-release
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Test on Node.js 18: test/pages/localize_routes.test.ts#L28
Argument of type '{ locales: string[]; debug?: boolean | undefined; overrides?: Omit<NuxtI18nOptions<unknown, string[] | LocaleObject[]>, "overrides"> | undefined; vueI18n?: string | undefined; ... 23 more ...; defaultLocaleRouteNameSuffix: string; }' is not assignable to parameter of type 'LocalizeRoutesParams'.
Test on Node.js 18: test/pages/localize_routes.test.ts#L71
Argument of type '{ locales: string[]; debug?: boolean | undefined; overrides?: Omit<NuxtI18nOptions<unknown, string[] | LocaleObject[]>, "overrides"> | undefined; vueI18n?: string | undefined; ... 23 more ...; defaultLocaleRouteNameSuffix: string; }' is not assignable to parameter of type 'LocalizeRoutesParams'.
Test on Node.js 18: test/pages/localize_routes.test.ts#L103
Argument of type '{ locales: string[]; trailingSlash: true; debug?: boolean | undefined; overrides?: Omit<NuxtI18nOptions<unknown, string[] | LocaleObject[]>, "overrides"> | undefined; ... 23 more ...; defaultLocaleRouteNameSuffix: string; }' is not assignable to parameter of type 'LocalizeRoutesParams'.
Test on Node.js 18: test/pages/localize_routes.test.ts#L130
Argument of type '{ locales: string[]; routesNameSeparator: string; debug?: boolean | undefined; overrides?: Omit<NuxtI18nOptions<unknown, string[] | LocaleObject[]>, "overrides"> | undefined; ... 23 more ...; defaultLocaleRouteNameSuffix: string; }' is not assignable to parameter of type 'LocalizeRoutesParams'.
Test on Node.js 18: test/pages/localize_routes.test.ts#L176
Argument of type '{ defaultLocale: string; strategy: "prefix_and_default"; locales: string[]; debug?: boolean | undefined; overrides?: Omit<NuxtI18nOptions<unknown, string[] | LocaleObject[]>, "overrides"> | undefined; ... 22 more ...; defaultLocaleRouteNameSuffix: string; }' is not assignable to parameter of type 'LocalizeRoutesParams'.
Test on Node.js 18: test/pages/localize_routes.test.ts#L200
Argument of type '{ defaultLocale: string; strategy: "prefix_except_default"; locales: string[]; debug?: boolean | undefined; overrides?: Omit<NuxtI18nOptions<unknown, string[] | LocaleObject[]>, "overrides"> | undefined; ... 22 more ...; defaultLocaleRouteNameSuffix: string; }' is not assignable to parameter of type 'LocalizeRoutesParams'.
Test on Node.js 18: test/pages/localize_routes.test.ts#L224
Argument of type '{ defaultLocale: string; strategy: "prefix"; locales: string[]; includeUnprefixedFallback: true; debug?: boolean | undefined; overrides?: Omit<NuxtI18nOptions<unknown, string[] | LocaleObject[]>, "overrides"> | undefined; ... 22 more ...; defaultLocaleRouteNameSuffix: string; }' is not assignable to parameter of type 'LocalizeRoutesParams'.
Test on Node.js 18: test/pages/localize_routes.test.ts#L249
Argument of type '{ defaultLocale: string; strategy: "no_prefix"; locales: string[]; debug?: boolean | undefined; overrides?: Omit<NuxtI18nOptions<unknown, string[] | LocaleObject[]>, "overrides"> | undefined; ... 22 more ...; defaultLocaleRouteNameSuffix: string; }' is not assignable to parameter of type 'LocalizeRoutesParams'.
Test on Node.js 18: test/pages/localize_routes.test.ts#L273
Argument of type '{ locales: string[]; optionsResolver: () => undefined; debug?: boolean | undefined; overrides?: Omit<NuxtI18nOptions<unknown, string[] | LocaleObject[]>, "overrides"> | undefined; ... 24 more ...; defaultLocaleRouteNameSuffix: string; }' is not assignable to parameter of type 'LocalizeRoutesParams'.
Test on Node.js 18: test/routing-utils.test.ts#L51
Expected 6 arguments, but got 5.