Renamed Cache to CacheService to prevent name collisions
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
import { TestBed } from '@angular/core/testing';
|
||||
|
||||
import { Cache } from './cache';
|
||||
import { CacheService } from './cache';
|
||||
|
||||
describe('Cache', () => {
|
||||
let service: Cache;
|
||||
let service: CacheService;
|
||||
|
||||
beforeEach(() => {
|
||||
TestBed.configureTestingModule({});
|
||||
service = TestBed.inject(Cache);
|
||||
service = TestBed.inject(CacheService);
|
||||
});
|
||||
|
||||
it('should be created', () => {
|
||||
|
||||
@@ -4,7 +4,7 @@ import { Contact } from 'chatenium-sdk-preview';
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
export class Cache {
|
||||
export class CacheService {
|
||||
contacts = signal<Contact[]>([])
|
||||
contactsState = signal<LoadState>(LoadState.CLEAN_LOADING)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user