mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 02:09:37 +02:00
Add hook filters tests
This commit is contained in:
parent
09071200c7
commit
89cd127560
18 changed files with 306 additions and 80 deletions
|
@ -201,6 +201,10 @@ function getPluginPackageJSON (server: ServerInfo, npmName: string) {
|
|||
return readJSON(path)
|
||||
}
|
||||
|
||||
function getPluginTestPath (suffix = '') {
|
||||
return join(root(), 'server', 'tests', 'fixtures', 'peertube-plugin-test' + suffix)
|
||||
}
|
||||
|
||||
export {
|
||||
listPlugins,
|
||||
listAvailablePlugins,
|
||||
|
@ -213,5 +217,6 @@ export {
|
|||
getPluginRegisteredSettings,
|
||||
getPackageJSONPath,
|
||||
updatePluginPackageJSON,
|
||||
getPluginPackageJSON
|
||||
getPluginPackageJSON,
|
||||
getPluginTestPath
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue