speed up tests

This commit is contained in:
Nolan Lawson 2018-03-06 21:02:22 -08:00
parent d72c13d42c
commit 4b5b06b6fc
1 changed files with 0 additions and 4 deletions

View File

@ -47,10 +47,6 @@ export async function restoreMastodonData () {
console.log(JSON.stringify(action)) console.log(JSON.stringify(action))
let accessToken = users[action.user].accessToken let accessToken = users[action.user].accessToken
if (action.post || action.boost) {
await new Promise(resolve => setTimeout(resolve, 1100))
}
if (action.post) { if (action.post) {
let { text, media, sensitive, spoiler, privacy, inReplyTo, internalId } = action.post let { text, media, sensitive, spoiler, privacy, inReplyTo, internalId } = action.post
if (typeof inReplyTo !== 'undefined') { if (typeof inReplyTo !== 'undefined') {