create shared service
This commit is contained in:
parent
3043a74fa7
commit
42a552c8ec
2 changed files with 24 additions and 0 deletions
|
@ -0,0 +1,16 @@
|
||||||
|
import { TestBed } from '@angular/core/testing';
|
||||||
|
|
||||||
|
import { SharedService } from './shared-service';
|
||||||
|
|
||||||
|
describe('SharedService', () => {
|
||||||
|
let service: SharedService;
|
||||||
|
|
||||||
|
beforeEach(() => {
|
||||||
|
TestBed.configureTestingModule({});
|
||||||
|
service = TestBed.inject(SharedService);
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should be created', () => {
|
||||||
|
expect(service).toBeTruthy();
|
||||||
|
});
|
||||||
|
});
|
8
my-workspace/projects/sae-lib/services/shared-service.ts
Normal file
8
my-workspace/projects/sae-lib/services/shared-service.ts
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
import { Injectable } from '@angular/core';
|
||||||
|
|
||||||
|
@Injectable({
|
||||||
|
providedIn: 'root'
|
||||||
|
})
|
||||||
|
export class SharedService {
|
||||||
|
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue