mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Remove redundant code
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
parent
191c0fa960
commit
40392ac195
@ -17,8 +17,6 @@ describe("with orphan promise, when called", () => {
|
|||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
const di = getDiForUnitTesting({ doGeneralOverrides: true });
|
const di = getDiForUnitTesting({ doGeneralOverrides: true });
|
||||||
|
|
||||||
di.register(withOrphanPromiseInjectable);
|
|
||||||
|
|
||||||
loggerStub = { error: jest.fn() } as unknown as Logger;
|
loggerStub = { error: jest.fn() } as unknown as Logger;
|
||||||
|
|
||||||
di.override(loggerInjectable, () => loggerStub);
|
di.override(loggerInjectable, () => loggerStub);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user