diff options
Diffstat (limited to 'server/tests/fixtures/peertube-plugin-test-native')
-rw-r--r-- | server/tests/fixtures/peertube-plugin-test-native/main.js | 21 | ||||
-rw-r--r-- | server/tests/fixtures/peertube-plugin-test-native/package.json | 23 |
2 files changed, 0 insertions, 44 deletions
diff --git a/server/tests/fixtures/peertube-plugin-test-native/main.js b/server/tests/fixtures/peertube-plugin-test-native/main.js deleted file mode 100644 index 0390faea9..000000000 --- a/server/tests/fixtures/peertube-plugin-test-native/main.js +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | const print = require('a-native-example') | ||
2 | |||
3 | async function register ({ getRouter }) { | ||
4 | print('hello world') | ||
5 | |||
6 | const router = getRouter() | ||
7 | |||
8 | router.get('/', (req, res) => { | ||
9 | print('hello world') | ||
10 | res.sendStatus(204) | ||
11 | }) | ||
12 | } | ||
13 | |||
14 | async function unregister () { | ||
15 | return | ||
16 | } | ||
17 | |||
18 | module.exports = { | ||
19 | register, | ||
20 | unregister | ||
21 | } | ||
diff --git a/server/tests/fixtures/peertube-plugin-test-native/package.json b/server/tests/fixtures/peertube-plugin-test-native/package.json deleted file mode 100644 index a6525720b..000000000 --- a/server/tests/fixtures/peertube-plugin-test-native/package.json +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | { | ||
2 | "name": "peertube-plugin-test-native", | ||
3 | "version": "0.0.1", | ||
4 | "description": "Plugin test-native", | ||
5 | "engine": { | ||
6 | "peertube": ">=4.3.0" | ||
7 | }, | ||
8 | "keywords": [ | ||
9 | "peertube", | ||
10 | "plugin" | ||
11 | ], | ||
12 | "homepage": "https://github.com/Chocobozzz/PeerTube", | ||
13 | "author": "Chocobozzz", | ||
14 | "bugs": "https://github.com/Chocobozzz/PeerTube/issues", | ||
15 | "library": "./main.js", | ||
16 | "staticDirs": {}, | ||
17 | "css": [], | ||
18 | "clientScripts": [], | ||
19 | "translations": {}, | ||
20 | "dependencies": { | ||
21 | "a-native-example": "^1.0.0" | ||
22 | } | ||
23 | } | ||