From b0ba0886fdc83a00b528a616e625cac03b09aaae Mon Sep 17 00:00:00 2001 From: Vincent Guillet Date: Tue, 14 Oct 2025 14:53:18 +0200 Subject: [PATCH] add Brand class and associated unit tests --- client/src/app/models/brand/brand.spec.ts | 7 +++++++ client/src/app/models/brand/brand.ts | 3 +++ 2 files changed, 10 insertions(+) create mode 100644 client/src/app/models/brand/brand.spec.ts create mode 100644 client/src/app/models/brand/brand.ts diff --git a/client/src/app/models/brand/brand.spec.ts b/client/src/app/models/brand/brand.spec.ts new file mode 100644 index 0000000..75cd13b --- /dev/null +++ b/client/src/app/models/brand/brand.spec.ts @@ -0,0 +1,7 @@ +import { Brand } from './brand'; + +describe('Brand', () => { + it('should create an instance', () => { + expect(new Brand()).toBeTruthy(); + }); +}); diff --git a/client/src/app/models/brand/brand.ts b/client/src/app/models/brand/brand.ts new file mode 100644 index 0000000..8408f28 --- /dev/null +++ b/client/src/app/models/brand/brand.ts @@ -0,0 +1,3 @@ +export class Brand { + name: string = ''; +}