website refactor
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
import { Driver } from '@core/racing/domain/entities/Driver';
|
||||
import type { Logger } from '@core/shared/domain/Logger';
|
||||
import { beforeEach, describe, expect, it, vi, type Mock } from 'vitest';
|
||||
import { SocialGraphRepository } from '../../domain/repositories/SocialGraphRepository';
|
||||
import {
|
||||
GetCurrentUserSocialUseCase,
|
||||
type GetCurrentUserSocialApplicationError,
|
||||
type GetCurrentUserSocialInput,
|
||||
} from './GetCurrentUserSocialUseCase';
|
||||
import { SocialGraphRepository } from '../../domain/repositories/SocialGraphRepository';
|
||||
|
||||
describe('GetCurrentUserSocialUseCase', () => {
|
||||
let socialGraphRepository: {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { SocialGraphRepository } from '../../domain/repositories/SocialGraphRepository';
|
||||
import type { Logger } from '@core/shared/domain/Logger';
|
||||
import { Result } from '@core/shared/domain/Result';
|
||||
import type { ApplicationErrorCode } from '@core/shared/errors/ApplicationErrorCode';
|
||||
import { SocialGraphRepository } from '../../domain/repositories/SocialGraphRepository';
|
||||
import type { SocialFriendSummary, SocialUserSummary } from '../types/SocialUser';
|
||||
|
||||
export interface GetCurrentUserSocialParams {
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
import type { Logger } from '@core/shared/domain/Logger';
|
||||
import { beforeEach, describe, expect, it, vi, type Mock } from 'vitest';
|
||||
import type { FeedRepository } from '../../domain/repositories/FeedRepository';
|
||||
import type { FeedItem } from '../../domain/types/FeedItem';
|
||||
import {
|
||||
GetUserFeedUseCase,
|
||||
type GetUserFeedApplicationError,
|
||||
type GetUserFeedInput,
|
||||
} from './GetUserFeedUseCase';
|
||||
import type { FeedRepository } from '../../domain/repositories/FeedRepository';
|
||||
|
||||
describe('GetUserFeedUseCase', () => {
|
||||
let feedRepository: FeedRepository & { getFeedForDriver: Mock };
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { FeedRepository } from '../../domain/repositories/FeedRepository';
|
||||
import type { Logger } from '@core/shared/domain/Logger';
|
||||
import { Result } from '@core/shared/domain/Result';
|
||||
import type { ApplicationErrorCode } from '@core/shared/errors/ApplicationErrorCode';
|
||||
import { FeedRepository } from '../../domain/repositories/FeedRepository';
|
||||
import type { FeedItem } from '../../domain/types/FeedItem';
|
||||
|
||||
export interface GetUserFeedParams {
|
||||
|
||||
Reference in New Issue
Block a user