refactor: api key repository (#15491)

This commit is contained in:
Jason Rasmussen 2025-01-21 11:45:59 -05:00 committed by GitHub
parent 1745f48f3d
commit 9a1068c867
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 44 additions and 72 deletions

View file

@ -1,7 +1,7 @@
import { IKeyRepository } from 'src/interfaces/api-key.interface';
import { IApiKeyRepository } from 'src/types';
import { Mocked, vitest } from 'vitest';
export const newKeyRepositoryMock = (): Mocked<IKeyRepository> => {
export const newKeyRepositoryMock = (): Mocked<IApiKeyRepository> => {
return {
create: vitest.fn(),
update: vitest.fn(),