Consolidate sleep usages into a tested utility function

This commit is contained in:
Evan Hahn 2020-10-13 17:21:42 -05:00 committed by Scott Nonnenberg
parent c4de9436f3
commit 60f2422e2a
10 changed files with 357 additions and 84 deletions

View file

@ -16,7 +16,7 @@ const {
const Attachments = require('../../app/attachments');
const Message = require('./types/message');
const { sleep } = require('./sleep');
const { sleep } = require('../../ts/util/sleep');
// See: https://en.wikipedia.org/wiki/Fictitious_telephone_number#North_American_Numbering_Plan
const SENDER_ID = '+12126647665';