Skip to content

Commit da70238

Browse files
committed
Ran prettier
1 parent 2de0a48 commit da70238

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

packages/database/test/exp/integration.test.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,10 @@ describe('Database@exp Tests', () => {
146146
async function waitUntil(cb: () => boolean, maxRetries = 5) {
147147
let count = 1;
148148
return new Promise((resolve, reject) => {
149-
if(cb()) {
149+
if (cb()) {
150150
resolve(true);
151151
} else {
152-
if(count++ === maxRetries) {
152+
if (count++ === maxRetries) {
153153
reject('waited too many times for conditional to be true');
154154
}
155155
}
@@ -168,7 +168,8 @@ describe('Database@exp Tests', () => {
168168
b: 1
169169
}
170170
});
171-
await waitUntil(() => { // Because this is a test reliant on network latency, it can be difficult to reproduce. There are situations when get() resolves immediately, and the above behavior is not observed.
171+
await waitUntil(() => {
172+
// Because this is a test reliant on network latency, it can be difficult to reproduce. There are situations when get() resolves immediately, and the above behavior is not observed.
172173
let resolved = false;
173174
get(readerRef).then(() => (resolved = true));
174175
return !resolved;

0 commit comments

Comments
 (0)