diff --git a/client/src/app/services/data.spec.ts b/client/src/app/services/data.spec.ts new file mode 100644 index 0000000..8e61ca4 --- /dev/null +++ b/client/src/app/services/data.spec.ts @@ -0,0 +1,16 @@ +import { TestBed } from '@angular/core/testing'; + +import { DataService } from './data'; + +describe('Data', () => { + let service: DataService; + + beforeEach(() => { + TestBed.configureTestingModule({}); + service = TestBed.inject(DataService); + }); + + it('should be created', () => { + expect(service).toBeTruthy(); + }); +}); diff --git a/client/src/app/services/data.ts b/client/src/app/services/data.ts new file mode 100644 index 0000000..d05c12d --- /dev/null +++ b/client/src/app/services/data.ts @@ -0,0 +1,6 @@ +import { Injectable } from '@angular/core'; + +@Injectable({ + providedIn: 'root', +}) +export class DataService {} diff --git a/shared/interfaces/transaction.ts b/shared/src/interfaces/transaction.ts similarity index 100% rename from shared/interfaces/transaction.ts rename to shared/src/interfaces/transaction.ts diff --git a/shared/tsconfig.json b/shared/tsconfig.json index 23f56b9..e76eaa0 100644 --- a/shared/tsconfig.json +++ b/shared/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../tsconfig.json", "compilerOptions": { "outDir": "../../dist/out-tsc/shared", "declaration": true, @@ -8,4 +8,3 @@ "include": ["src/**/*.ts"], "exclude": ["node_modules"] } - diff --git a/tsconfig.json b/tsconfig.json index fe502db..f2d80d8 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,7 +10,7 @@ "module": "es2022", "lib": ["es2022", "dom"], "paths": { - "@shared/*": ["shared/*"] + "@shared/*": ["shared/src/*"] } }, "exclude": ["node_modules"]