forked from cybrespace/pinafore
speed up tests
This commit is contained in:
parent
d72c13d42c
commit
4b5b06b6fc
|
@ -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') {
|
||||||
|
|
Loading…
Reference in New Issue