Merge pull request #1003 from spotify/rugvip/apimove
core: refactor ErrorApi and AlertApi
This commit is contained in:
@@ -53,7 +53,7 @@ describe('CreateAudit', () => {
|
||||
let errorApi: ErrorApi;
|
||||
|
||||
beforeEach(() => {
|
||||
errorApi = { post: jest.fn() };
|
||||
errorApi = { post: jest.fn(), error$: jest.fn() };
|
||||
apis = ApiRegistry.from([
|
||||
[lighthouseApiRef, new LighthouseRestApi('http://lighthouse')],
|
||||
[errorApiRef, errorApi],
|
||||
|
||||
Reference in New Issue
Block a user