We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80b2147 commit 6be342cCopy full SHA for 6be342c
test/benchmarks/driverBench/index.js
@@ -90,12 +90,12 @@ benchmarkRunner
90
info: {
91
test_name: benchmarkName,
92
tags: [bsonType],
93
- // Args can only be a map of string -> int32. So if its a number coerce it to an int32,
+ // Args can only be a map of string -> int32. So if its a number leave it be,
94
// if it is anything else test for truthiness and set to 1 or 0.
95
args: Object.fromEntries(
96
Object.entries(MONGODB_CLIENT_OPTIONS).map(([key, value]) => [
97
key,
98
- typeof value === 'number' ? value | 0 : value ? 1 : 0
+ typeof value === 'number' ? value : value ? 1 : 0
99
])
100
)
101
},
0 commit comments