diff options
author | Chocobozzz <me@florianbigard.com> | 2021-06-30 11:45:06 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-06-30 11:45:20 +0200 |
commit | 9c2e051c56e1ef6b9c9901f492fb506ee5d16def (patch) | |
tree | ba9d731b0e3d89e2a3004c047c59c0c4e4e7bac0 /server/tests/fixtures/peertube-plugin-test-broken/main.js | |
parent | 4c0a6954fb6df177f842de4bf3e3a97eb171a11b (diff) | |
download | PeerTube-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.js | 12 |
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 @@ | |||
1 | async function register (options) { | ||
2 | options.unknownFunction() | ||
3 | } | ||
4 | |||
5 | async function unregister () { | ||
6 | return | ||
7 | } | ||
8 | |||
9 | module.exports = { | ||
10 | register, | ||
11 | unregister | ||
12 | } | ||