There was an error while loading. Please reload this page.
2 parents c5d278a + 0fa5ed4 commit 4fc0bd4Copy full SHA for 4fc0bd4
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