Skip to content

Commit

Permalink
nits
Browse files Browse the repository at this point in the history
  • Loading branch information
joshdover committed Oct 14, 2019
1 parent 206456a commit fcbc658
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/core/public/notifications/toasts/toasts_api.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export class ToastsApi implements IToasts {
this.overlays = overlays;
}

/** Current array of toast messages to show to user. */
/** Observable of the toast messages to show to the user. */
public get$() {
return this.toasts$.asObservable();
}
Expand Down
4 changes: 2 additions & 2 deletions src/core/public/notifications/toasts/toasts_service.mock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
*/

import { Observable } from 'rxjs';
import { ToastsSetup } from './toasts_service';
import { IToasts } from './toasts_api';

const createToastsApiMock = () => {
const api: jest.Mocked<ToastsSetup> = {
const api: jest.Mocked<IToasts> = {
get$: jest.fn(() => new Observable()),
add: jest.fn(),
remove: jest.fn(),
Expand Down

0 comments on commit fcbc658

Please sign in to comment.