Skip to content

Commit 366f830

Browse files
Making Spec Tests consistent.
1 parent 0d14759 commit 366f830

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

packages/firestore/test/unit/specs/persistence_spec.test.ts

+14-12
Original file line numberDiff line numberDiff line change
@@ -187,18 +187,20 @@ describeSpec('Persistence:', ['persistence'], () => {
187187
// This test simulates primary state handoff between two background tabs.
188188
// With all instances are in the background, the first active tab acquires
189189
// ownership.
190-
return client(0)
191-
.becomeHidden()
192-
.expectPrimaryState(true)
193-
.client(1)
194-
.becomeHidden()
195-
.expectPrimaryState(false)
196-
.client(0)
197-
.shutdown()
198-
.expectPrimaryState(false)
199-
.client(1)
200-
.restart()
201-
.expectPrimaryState(true);
190+
return (
191+
client(0)
192+
.becomeHidden()
193+
.expectPrimaryState(true)
194+
.client(1)
195+
.becomeHidden()
196+
.expectPrimaryState(false)
197+
.client(0)
198+
.shutdown()
199+
.expectPrimaryState(false)
200+
.client(1)
201+
.restart()
202+
.expectPrimaryState(true)
203+
);
202204
});
203205

204206
specTest('Foreground tab acquires primary lease', ['multi-client'], () => {

0 commit comments

Comments
 (0)