@@ -207,34 +207,6 @@ apiDescribe('Server Timestamps', (persistence: boolean) => {
207
207
} ) ;
208
208
} ) ;
209
209
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
-
238
210
it ( 'can return previous value of different type' , ( ) => {
239
211
return withTestSetup ( ( ) => {
240
212
return writeInitialData ( )
0 commit comments