Skip to content

Commit

Permalink
feat-#35: Fix typo in ItemEntity
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamOleszko committed Mar 13, 2021
1 parent c3f6555 commit 761a5c6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/item/infrastructure/entities/item.entity.spec.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { ItemEntity } from './item.entity';

describe('ItemEntity', () => {
it('should create ItemEnitity object', () => {
const itemEnitity = new ItemEntity(1, 'Test');
expect(itemEnitity.id).toBe(1);
expect(itemEnitity.name).toBe('Test');
expect(itemEnitity instanceof ItemEntity).toBe(true);
it('should create ItemEntity object', () => {
const itemEntity = new ItemEntity(1, 'Test');
expect(itemEntity.id).toBe(1);
expect(itemEntity.name).toBe('Test');
expect(itemEntity instanceof ItemEntity).toBe(true);
});
});

0 comments on commit 761a5c6

Please sign in to comment.