Upgrade Prettier to 2.4.1

This commit is contained in:
Evan Hahn
2021-11-11 16:43:05 -06:00
committed by GitHub
parent f204784afe
commit 5619eeca83
176 changed files with 1961 additions and 2465 deletions

View File

@@ -314,11 +314,15 @@ describe('JobQueue', () => {
retryQueue.streamJobs();
await (await retryQueue.add('foo')).completion;
await (
await retryQueue.add('foo')
).completion;
let booErr: unknown;
try {
await (await retryQueue.add('bar')).completion;
await (
await retryQueue.add('bar')
).completion;
} catch (err: unknown) {
booErr = err;
}
@@ -366,7 +370,9 @@ describe('JobQueue', () => {
queue.streamJobs();
try {
await (await queue.add('foo')).completion;
await (
await queue.add('foo')
).completion;
} catch (err: unknown) {
// We expect this to fail.
}
@@ -597,7 +603,9 @@ describe('JobQueue', () => {
queue.streamJobs();
await (await queue.add(123)).completion;
await (
await queue.add(123)
).completion;
assert.deepEqual(events, ['insert', 'parsing data', 'running']);
});