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 164c425 commit 0fa5ed4Copy full SHA for 0fa5ed4
tests/data_types.test.js
@@ -78,7 +78,7 @@ test(`${testSuiteName}: Test Redis hash`, async () => {
78
test(`${testSuiteName}: Test Redis float`, async () => {
79
await client.setAsync(testKeyName, 22.5);
80
81
- value = await client.incrbyfloatAsync(testKeyName, 1);
+ const value = await client.incrbyfloatAsync(testKeyName, 1);
82
expect(typeof (value)).toBe('string');
83
expect(value).toBe('23.5');
84
expect(parseFloat(value)).toBeCloseTo(23.5);
0 commit comments