mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-19 16:08:34 +01:00
Add no-misused/floating-promises lint rule
This commit is contained in:
@@ -105,7 +105,7 @@ describe('handleMultipleSendErrors', () => {
|
||||
it('sleeps for the longest 413 Retry-After time', async () => {
|
||||
let done = false;
|
||||
|
||||
(async () => {
|
||||
void (async () => {
|
||||
try {
|
||||
await handleMultipleSendErrors({
|
||||
...defaultOptions,
|
||||
@@ -134,7 +134,7 @@ describe('handleMultipleSendErrors', () => {
|
||||
it("doesn't sleep longer than the remaining time", async () => {
|
||||
let done = false;
|
||||
|
||||
(async () => {
|
||||
void (async () => {
|
||||
try {
|
||||
await handleMultipleSendErrors({
|
||||
...defaultOptions,
|
||||
|
||||
Reference in New Issue
Block a user