|
1 | 1 | import { strict as assert } from 'node:assert';
|
2 | 2 | import { setTimeout } from 'node:timers/promises';
|
3 |
| -import testUtils, { GLOBAL } from '../test-utils'; |
| 3 | +import testUtils, { GLOBAL, MATH_FUNCTION } from '../test-utils'; |
4 | 4 | import { RESP_TYPES } from '../RESP/decoder';
|
5 | 5 | import { WatchError } from "../errors";
|
6 |
| -import { MATH_FUNCTION } from '../commands/FUNCTION_LOAD.spec'; |
7 | 6 | import { RedisSentinelConfig, SentinelFramework } from "./test-util";
|
8 | 7 | import { RedisSentinelEvent, RedisSentinelType, RedisSentinelClientType, RedisNode } from "./types";
|
9 |
| -import { RedisModules, RedisFunctions, RedisScripts, RespVersions, TypeMapping } from '../RESP/types'; |
| 8 | +import { RedisModules, RedisFunctions, RedisScripts, RespVersions, TypeMapping, NumberReply } from '../RESP/types'; |
10 | 9 | import { promisify } from 'node:util';
|
11 | 10 | import { exec } from 'node:child_process';
|
12 | 11 | const execAsync = promisify(exec);
|
@@ -417,7 +416,7 @@ describe('legacy tests', () => {
|
417 | 416 | })
|
418 | 417 |
|
419 | 418 | describe('Sentinel Client', function () {
|
420 |
| - let sentinel: RedisSentinelType< RedisModules, RedisFunctions, RedisScripts, RespVersions, TypeMapping> | undefined; |
| 419 | + let sentinel: RedisSentinelType<RedisModules, RedisFunctions, RedisScripts, RespVersions, TypeMapping> | undefined; |
421 | 420 |
|
422 | 421 | beforeEach(async function () {
|
423 | 422 | this.timeout(0);
|
|
0 commit comments