aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/fixtures/peertube-plugin-test-broken/main.js
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-06-30 11:45:06 +0200
committerChocobozzz <me@florianbigard.com>2021-06-30 11:45:20 +0200
commit9c2e051c56e1ef6b9c9901f492fb506ee5d16def (patch)
treeba9d731b0e3d89e2a3004c047c59c0c4e4e7bac0 /server/tests/fixtures/peertube-plugin-test-broken/main.js
parent4c0a6954fb6df177f842de4bf3e3a97eb171a11b (diff)
downloadPeerTube-9c2e051c56e1ef6b9c9901f492fb506ee5d16def.tar.gz
PeerTube-9c2e051c56e1ef6b9c9901f492fb506ee5d16def.tar.zst
PeerTube-9c2e051c56e1ef6b9c9901f492fb506ee5d16def.zip
Handle broken plugin install
Diffstat (limited to 'server/tests/fixtures/peertube-plugin-test-broken/main.js')
-rw-r--r--server/tests/fixtures/peertube-plugin-test-broken/main.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/server/tests/fixtures/peertube-plugin-test-broken/main.js b/server/tests/fixtures/peertube-plugin-test-broken/main.js
new file mode 100644
index 000000000..afdb6f7a0
--- /dev/null
+++ b/server/tests/fixtures/peertube-plugin-test-broken/main.js
@@ -0,0 +1,12 @@
1async function register (options) {
2 options.unknownFunction()
3}
4
5async function unregister () {
6 return
7}
8
9module.exports = {
10 register,
11 unregister
12}