Upgrade Prettier to 2.4.1
This commit is contained in:
parent
f204784afe
commit
5619eeca83
176 changed files with 1961 additions and 2465 deletions
|
@ -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']);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue