File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
src/Contexts/Mooc/Courses/infrastructure/persistence
tests/Contexts/Mooc/Courses/infrastructure/persistence Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1- import { CourseRepository } from '../domain/CourseRepository' ;
2- import { Course } from '../domain/Course' ;
1+ import { CourseRepository } from '../../ domain/CourseRepository' ;
2+ import { Course } from '../../ domain/Course' ;
33import fs from 'fs' ;
44import BSON from 'bson' ;
5- import { Nullable } from '../../../Shared/domain/Nullable' ;
6- import { CourseId } from '../../Shared/domain/Courses/CourseId' ;
5+ import { Nullable } from '../../../../ Shared/domain/Nullable' ;
6+ import { CourseId } from '../../../ Shared/domain/Courses/CourseId' ;
77
88export class FileCourseRepository implements CourseRepository {
99 private FILE_PATH = `${ __dirname } /courses` ;
Original file line number Diff line number Diff line change 1- import { FileCourseRepository } from '../../../../../src/Contexts/Mooc/Courses/infrastructure/FileCourseRepository' ;
2- import { CourseMother } from '../domain/CourseMother' ;
1+ import { FileCourseRepository } from '../../../../../../ src/Contexts/Mooc/Courses/infrastructure/persistence /FileCourseRepository' ;
2+ import { CourseMother } from '../../ domain/CourseMother' ;
33
44describe ( 'Save Course' , ( ) => {
55 it ( 'should have a course' , async ( ) => {
You can’t perform that action at this time.
0 commit comments