fix: enum type fixes in SDL (HBE-183) (#55)
* fix: added reqType typed in sdl * fix: updateUserSession type
This commit is contained in:
@@ -2,12 +2,12 @@ import { UserHistoryService } from './user-history.service';
|
||||
import { PrismaService } from '../prisma/prisma.service';
|
||||
import { PubSubService } from '../pubsub/pubsub.service';
|
||||
import { mockDeep, mockReset } from 'jest-mock-extended';
|
||||
import { ReqType, UserHistory } from './user-history.model';
|
||||
import { UserHistory } from './user-history.model';
|
||||
import { ReqType } from 'src/types/RequestTypes';
|
||||
import {
|
||||
USER_HISTORY_INVALID_REQ_TYPE,
|
||||
USER_HISTORY_NOT_FOUND,
|
||||
} from '../errors';
|
||||
import { ReqType as DBReqType } from '@prisma/client';
|
||||
|
||||
const mockPrisma = mockDeep<PrismaService>();
|
||||
const mockPubSub = mockDeep<PubSubService>();
|
||||
|
||||
Reference in New Issue
Block a user