test(models/domain): test instantiation
This commit is contained in:
8
src/app/models/Establishment.spec.ts
Normal file
8
src/app/models/Establishment.spec.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import { Chain } from './Chain';
|
||||
import { Establishment } from './Establishment';
|
||||
|
||||
describe('Establishment', () => {
|
||||
it('should create', () => {
|
||||
expect(new Establishment(new Chain('mock', 'mock.jpg', 1), 'Mock street', 1)).toBeTruthy();
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user