Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Framasoft
PeerTube
PeerTube
Commits
592f2ea5
Verified
Commit
592f2ea5
authored
Dec 14, 2021
by
Chocobozzz
Browse files
Fix videos language tests
parent
2f06a9bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/tests/shared/video.ts
View file @
592f2ea5
/* eslint-disable @typescript-eslint/no-unused-expressions */
import
{
dateIsValid
,
makeRawRequest
,
PeerTubeServer
,
testImage
,
webtorrentAdd
}
from
'
@shared/extra-utils
'
import
{
expect
}
from
'
chai
'
import
{
VIDEO_CATEGORIES
,
VIDEO_LANGUAGES
,
VIDEO_LICENCES
,
VIDEO_PRIVACIES
}
from
'
@server/initializers/constants
'
import
{
loadLanguages
,
VIDEO_CATEGORIES
,
VIDEO_LANGUAGES
,
VIDEO_LICENCES
,
VIDEO_PRIVACIES
}
from
'
@server/initializers/constants
'
import
{
getLowercaseExtension
,
uuidRegex
}
from
'
@shared/core-utils
'
loadLanguages
()
export
async
function
completeVideoCheck
(
server
:
PeerTubeServer
,
video
:
any
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment