Skip to content

Commit ee04b67

Browse files
Adding Query Tests for NaN and Null (#168)
1 parent 1df29bf commit ee04b67

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

conformance/runner.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ const convertInput = {
6565
return convertObject(value);
6666
} else if (is.array(value)) {
6767
return convertArray(value);
68+
} else if (value === 'NaN') {
69+
return NaN;
6870
} else if (value === 'Delete') {
6971
return Firestore.FieldValue.delete();
7072
} else if (value === 'ServerTimestamp') {

conformance/test-suite.binproto

270 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)