mirror of
https://github.com/nolanlawson/pinafore
synced 2025-02-03 07:15:47 +01:00
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…
x
Reference in New Issue
Block a user