Skip to content

Commit 95974e2

Browse files
author
Brian Chen
committed
remove outdated test
1 parent ac590f7 commit 95974e2

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

packages/firestore/test/integration/api/server_timestamp.test.ts

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -207,34 +207,6 @@ apiDescribe('Server Timestamps', (persistence: boolean) => {
207207
});
208208
});
209209

210-
it('can return previous value', () => {
211-
// The following test includes an update of the nested map "deep", which
212-
// updates it to contain a single ServerTimestamp. This update is split
213-
// into two mutations: One that sets "deep" to an empty map and overwrites
214-
// the previous ServerTimestamp value and a second transform that writes
215-
// the new ServerTimestamp. This step in the test verifies that we can
216-
// still access the old ServerTimestamp value (from `previousSnapshot`) even
217-
// though it was removed in an intermediate step.
218-
219-
let previousSnapshot: firestore.DocumentSnapshot;
220-
221-
return withTestSetup(() => {
222-
return writeInitialData()
223-
.then(() => docRef.update(updateData))
224-
.then(() => accumulator.awaitLocalEvent())
225-
.then(snapshot => verifyTimestampsUsePreviousValue(snapshot, null))
226-
.then(() => accumulator.awaitRemoteEvent())
227-
.then(snapshot => {
228-
previousSnapshot = snapshot;
229-
})
230-
.then(() => docRef.update(updateData))
231-
.then(() => accumulator.awaitLocalEvent())
232-
.then(snapshot =>
233-
verifyTimestampsUsePreviousValue(snapshot, previousSnapshot)
234-
);
235-
});
236-
});
237-
238210
it('can return previous value of different type', () => {
239211
return withTestSetup(() => {
240212
return writeInitialData()

0 commit comments

Comments
 (0)