Remove useless test

This commit is contained in:
alep85 2024-09-17 17:23:26 +02:00
parent 5b0c0affd5
commit c3f50062d5
No known key found for this signature in database
GPG Key ID: AB4BE8E091FD24C8

View File

@ -25,18 +25,11 @@ describe('CustomAuthStorageService', () => {
beforeEach(() => {
TestBed.configureTestingModule({
providers: [
CustomAuthStorageService,
{ provide: CUSTOM_AUTH_STORAGE_PREFIX, useValue: of('custom-prefix') }
]
providers: [CustomAuthStorageService, { provide: CUSTOM_AUTH_STORAGE_PREFIX, useValue: of('custom-prefix') }]
});
service = TestBed.inject(CustomAuthStorageService);
});
it('should be created', () => {
expect(service).toBeTruthy();
});
it('should set the prefix from the observable', () => {
const expectedPrefix = 'custom-prefix_';
expect(service.prefix).toBe(expectedPrefix);