Skip to content

Commit

Permalink
sample(14-mongoose): update cats service test
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilmysliwiec committed Jun 14, 2023
1 parent ff84f63 commit d6507dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sample/14-mongoose-base/src/cats/cats.service.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Test, TestingModule } from '@nestjs/testing';
import { Model } from 'mongoose';
import { CatsService } from './cats.service';
import { Cat } from './interfaces/cat.interface';
import { Model } from 'mongoose';

const mockCat = {
name: 'Cat #1',
Expand Down Expand Up @@ -66,7 +66,7 @@ describe('CatService', () => {
name: 'Cat #1',
breed: 'Breed #1',
age: 4,
}),
} as any),
);
const newCat = await service.create({
name: 'Cat #1',
Expand Down

0 comments on commit d6507dc

Please sign in to comment.