Removed Redis Dependency (#184)

This commit is contained in:
Jonathan Smoley
2025-06-20 17:04:56 -07:00
committed by GitHub
parent 4236582cf4
commit 1074fe2270
13 changed files with 14 additions and 201 deletions

View File

@@ -5,16 +5,9 @@ import { describe, expect, it, vi } from 'vitest'
import commands from '../src/commands/index.js'
/**
* Mocking redis found in client.ts because of the commands
* Mocking client.ts because of the commands
*/
vi.mock('../src/client.js', () => ({
redis: {
createClient: vi.fn(),
connect: vi.fn(),
get: vi.fn(),
set: vi.fn()
}
}))
vi.mock('../src/client.js', () => ({}))
/**
* Commands test suite, tests the commands object