You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-04 15:02:09 +03:00
fix test file
This commit is contained in:
@@ -2,7 +2,7 @@ import { strict as assert } from 'assert';
|
|||||||
import testUtils, { GLOBAL } from '../test-utils';
|
import testUtils, { GLOBAL } from '../test-utils';
|
||||||
import ARRINSERT from './ARRINSERT';
|
import ARRINSERT from './ARRINSERT';
|
||||||
|
|
||||||
describe('ARRINSERT', () => {
|
describe('JSON.ARRINSERT', () => {
|
||||||
describe('transformArguments', () => {
|
describe('transformArguments', () => {
|
||||||
it('single JSON', () => {
|
it('single JSON', () => {
|
||||||
assert.deepEqual(
|
assert.deepEqual(
|
||||||
|
@@ -2,7 +2,7 @@ import { strict as assert } from 'assert';
|
|||||||
import testUtils, { GLOBAL } from '../test-utils';
|
import testUtils, { GLOBAL } from '../test-utils';
|
||||||
import ARRLEN from './ARRLEN';
|
import ARRLEN from './ARRLEN';
|
||||||
|
|
||||||
describe('ARRLEN', () => {
|
describe('JSON.ARRLEN', () => {
|
||||||
describe('transformArguments', () => {
|
describe('transformArguments', () => {
|
||||||
it('without path', () => {
|
it('without path', () => {
|
||||||
assert.deepEqual(
|
assert.deepEqual(
|
||||||
|
@@ -2,7 +2,7 @@ import { strict as assert } from 'assert';
|
|||||||
import testUtils, { GLOBAL } from '../test-utils';
|
import testUtils, { GLOBAL } from '../test-utils';
|
||||||
import ARRTRIM from './ARRTRIM';
|
import ARRTRIM from './ARRTRIM';
|
||||||
|
|
||||||
describe('ARRTRIM', () => {
|
describe('JSON.ARRTRIM', () => {
|
||||||
it('transformArguments', () => {
|
it('transformArguments', () => {
|
||||||
assert.deepEqual(
|
assert.deepEqual(
|
||||||
ARRTRIM.transformArguments('key', '$', 0, 1),
|
ARRTRIM.transformArguments('key', '$', 0, 1),
|
||||||
|
@@ -2,7 +2,7 @@ import { strict as assert } from 'assert';
|
|||||||
import testUtils, { GLOBAL } from '../test-utils';
|
import testUtils, { GLOBAL } from '../test-utils';
|
||||||
import CLEAR from './CLEAR';
|
import CLEAR from './CLEAR';
|
||||||
|
|
||||||
describe('CLEAR', () => {
|
describe('JSON.CLEAR', () => {
|
||||||
describe('transformArguments', () => {
|
describe('transformArguments', () => {
|
||||||
it('key', () => {
|
it('key', () => {
|
||||||
assert.deepEqual(
|
assert.deepEqual(
|
||||||
|
@@ -2,7 +2,7 @@ import { strict as assert } from 'assert';
|
|||||||
import testUtils, { GLOBAL } from '../test-utils';
|
import testUtils, { GLOBAL } from '../test-utils';
|
||||||
import OBJLEN from './OBJLEN';
|
import OBJLEN from './OBJLEN';
|
||||||
|
|
||||||
describe('OBJLEN', () => {
|
describe('JSON.OBJLEN', () => {
|
||||||
describe('transformArguments', () => {
|
describe('transformArguments', () => {
|
||||||
it('without path', () => {
|
it('without path', () => {
|
||||||
assert.deepEqual(
|
assert.deepEqual(
|
||||||
|
@@ -2,7 +2,7 @@ import { strict as assert } from 'assert';
|
|||||||
import testUtils, { GLOBAL } from '../test-utils';
|
import testUtils, { GLOBAL } from '../test-utils';
|
||||||
import STRLEN from './STRLEN';
|
import STRLEN from './STRLEN';
|
||||||
|
|
||||||
describe('STRLEN', () => {
|
describe('JSON.STRLEN', () => {
|
||||||
describe('transformArguments', () => {
|
describe('transformArguments', () => {
|
||||||
it('without path', () => {
|
it('without path', () => {
|
||||||
assert.deepEqual(
|
assert.deepEqual(
|
||||||
|
@@ -2,7 +2,7 @@ import { strict as assert } from 'assert';
|
|||||||
import testUtils, { GLOBAL } from '../test-utils';
|
import testUtils, { GLOBAL } from '../test-utils';
|
||||||
import TOGGLE from './TOGGLE';
|
import TOGGLE from './TOGGLE';
|
||||||
|
|
||||||
describe('TOGGLE', () => {
|
describe('JSON.TOGGLE', () => {
|
||||||
describe('transformArguments', () => {
|
describe('transformArguments', () => {
|
||||||
it('without path', () => {
|
it('without path', () => {
|
||||||
assert.deepEqual(
|
assert.deepEqual(
|
||||||
|
Reference in New Issue
Block a user