PeerTube/server/tests/plugins/action-hooks.ts

28 lines
638 B
TypeScript
Raw Normal View History

2019-07-19 03:37:35 -05:00
/* tslint:disable:no-unused-expression */
import * as chai from 'chai'
import 'mocha'
import { cleanupTests, flushAndRunServer, ServerInfo } from '../../../shared/extra-utils/server/servers'
import { setAccessTokensToServers } from '../../../shared/extra-utils'
const expect = chai.expect
describe('Test plugin filter hooks', function () {
let server: ServerInfo
before(async function () {
this.timeout(30000)
server = await flushAndRunServer(1)
await setAccessTokensToServers([ server ])
})
it('Should execute ', async function () {
})
after(async function () {
await cleanupTests([ server ])
})
})