test: fix ALL type errors in tests (#7487)

This commit is contained in:
Joshua Chen 2022-05-25 14:01:10 +08:00 committed by GitHub
parent e2e40b8f5f
commit d50fe3b670
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
37 changed files with 407 additions and 184 deletions

View file

@ -28,8 +28,12 @@ function createFakeVersion({
}): VersionMetadata {
return {
versionName,
versionLabel: 'Any',
versionPath: 'any',
label: 'Any',
path: 'any',
badge: true,
banner: null,
tagsPath: '/tags/',
className: '',
contentPath,
contentPathLocalized,
sidebarFilePath: 'any',