fix test and lint

This commit is contained in:
Art Lowel
2020-04-07 11:08:20 +02:00
parent e5053c85b0
commit 1fd7989a41

View File

@@ -162,7 +162,7 @@ describe('RequestService', () => {
}); });
}); });
describe('if the request with the specified UUID doesn\'t exist in the store', () => { describe(`if the request with the specified UUID doesn't exist in the store `, () => {
beforeEach(() => { beforeEach(() => {
selectSpy.and.callFake(() => { selectSpy.and.callFake(() => {
return () => { return () => {
@@ -171,10 +171,10 @@ describe('RequestService', () => {
}); });
}); });
it('should return an Observable of undefined', () => { it(`it shouldn't return anything`, () => {
const result = service.getByUUID(testUUID); const result = service.getByUUID(testUUID);
scheduler.expectObservable(result).toBe('b', { b: undefined }); scheduler.expectObservable(result).toBe('');
}); });
}); });