diff --git a/src/app/models/db/DBChain.spec.ts b/src/app/models/db/DBChain.spec.ts new file mode 100644 index 0000000..7173b4f --- /dev/null +++ b/src/app/models/db/DBChain.spec.ts @@ -0,0 +1,7 @@ +import { DBChain } from './DBChain'; + +describe('Chain', () => { + it('should create', () => { + expect(new DBChain('mock', 'mock.jpg', 1)).toBeTruthy(); + }); +}); diff --git a/src/app/models/db/DBEstablishment.spec.ts b/src/app/models/db/DBEstablishment.spec.ts new file mode 100644 index 0000000..006acfd --- /dev/null +++ b/src/app/models/db/DBEstablishment.spec.ts @@ -0,0 +1,7 @@ +import { DBEstablishment } from './DBEstablishment'; + +describe('DBEstablishment', () => { + it('should create', () => { + expect(new DBEstablishment('mock address', 1, 1)).toBeTruthy(); + }); +}); diff --git a/src/app/models/db/DBProduct.spec.ts b/src/app/models/db/DBProduct.spec.ts new file mode 100644 index 0000000..cff1e13 --- /dev/null +++ b/src/app/models/db/DBProduct.spec.ts @@ -0,0 +1,7 @@ +import { DBProduct } from './DBProduct'; + +describe('DBProduct', () => { + it('should create', () => { + expect(new DBProduct('121212112', 'product mock', 'mock.jpg', 1)).toBeTruthy(); + }); +}); diff --git a/src/app/models/db/DBProductEstablishment.spec.ts b/src/app/models/db/DBProductEstablishment.spec.ts new file mode 100644 index 0000000..b44ca10 --- /dev/null +++ b/src/app/models/db/DBProductEstablishment.spec.ts @@ -0,0 +1,7 @@ +import { DBProductEstablishment } from './DBProductEstablishment'; + +describe('DBProductEstablishment', () => { + it('should create', () => { + expect(new DBProductEstablishment(1, 1, 1)).toBeTruthy(); + }); +}); diff --git a/src/app/models/db/DBPurchase.spec.ts b/src/app/models/db/DBPurchase.spec.ts new file mode 100644 index 0000000..7768259 --- /dev/null +++ b/src/app/models/db/DBPurchase.spec.ts @@ -0,0 +1,7 @@ +import { DBPurchase } from './DBPurchase'; + +describe('DBPurchase', () => { + it('should create', () => { + expect(new DBPurchase(1, 1, Date.now(), 1000, 1, 1)).toBeTruthy(); + }); +});