Skip to content

Commit 8321655

Browse files
author
Brian Chen
committed
lint: remove unused function
1 parent 95974e2 commit 8321655

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

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

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -104,25 +104,6 @@ apiDescribe('Server Timestamps', (persistence: boolean) => {
104104
);
105105
}
106106

107-
/**
108-
* Verifies a snapshot containing setData but using the previous field value
109-
* for the timestamps.
110-
*/
111-
function verifyTimestampsUsePreviousValue(
112-
current: firestore.DocumentSnapshot,
113-
prev: firestore.DocumentSnapshot | null
114-
): void {
115-
if (!prev) {
116-
verifyTimestampsAreNull(current);
117-
} else {
118-
expect(current.exists).to.equal(true);
119-
const when = prev.get('when');
120-
expect(current.data({ serverTimestamps: 'previous' })).to.deep.equal(
121-
expectedDataWithTimestamp(when)
122-
);
123-
}
124-
}
125-
126107
/**
127108
* Wraps a test, getting a docRef and event accumulator, and cleaning them
128109
* up when done.

0 commit comments

Comments
 (0)