aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/real-world
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-07-18 09:52:46 +0200
committerChocobozzz <me@florianbigard.com>2018-07-18 10:00:37 +0200
commite032aec9b92be25a996923361f83a96a89505254 (patch)
tree245b559061fdcb1c27946333ff7ecd6bd82247f7 /server/tests/real-world
parent1d94c154689b89b2c5e55f6e12ec25f49b369d52 (diff)
downloadPeerTube-e032aec9b92be25a996923361f83a96a89505254.tar.gz
PeerTube-e032aec9b92be25a996923361f83a96a89505254.tar.zst
PeerTube-e032aec9b92be25a996923361f83a96a89505254.zip
Render CSS/title/description tags on server side
Diffstat (limited to 'server/tests/real-world')
-rw-r--r--server/tests/real-world/populate-database.ts11
1 files changed, 6 insertions, 5 deletions
diff --git a/server/tests/real-world/populate-database.ts b/server/tests/real-world/populate-database.ts
index 5f93d09db..f0f82f7f8 100644
--- a/server/tests/real-world/populate-database.ts
+++ b/server/tests/real-world/populate-database.ts
@@ -19,6 +19,12 @@ start()
19// ---------------------------------------------------------------------------- 19// ----------------------------------------------------------------------------
20 20
21async function start () { 21async function start () {
22 await flushTests()
23
24 console.log('Flushed tests.')
25
26 const server = await runServer(6)
27
22 process.on('exit', async () => { 28 process.on('exit', async () => {
23 killallServers([ server ]) 29 killallServers([ server ])
24 return 30 return
@@ -26,11 +32,6 @@ async function start () {
26 process.on('SIGINT', goodbye) 32 process.on('SIGINT', goodbye)
27 process.on('SIGTERM', goodbye) 33 process.on('SIGTERM', goodbye)
28 34
29 await flushTests()
30
31 console.log('Flushed tests.')
32
33 const server = await runServer(6)
34 await setAccessTokensToServers([ server ]) 35 await setAccessTokensToServers([ server ])
35 36
36 console.log('Servers ran.') 37 console.log('Servers ran.')