Skip to content

Commit

Permalink
chore(toast): remove unused css host class binding (#3401)
Browse files Browse the repository at this point in the history
This is cleanup change, removing unused binding from source code.

Closes: #3383
  • Loading branch information
peterblazejewicz authored and Benoit Charbonnier committed Oct 14, 2019
1 parent 36918b5 commit 22c82a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/toast/toast.spec.ts
Expand Up @@ -35,6 +35,8 @@ describe('ngb-toast', () => {
const body = getToastBodyElement(fixture);

expect(toast).toBeDefined();
expect(toast).toHaveCssClass('toast');
expect(toast).toHaveCssClass('show');
expect(header).toBeDefined();
expect(body).toBeDefined();
});
Expand Down
1 change: 0 additions & 1 deletion src/toast/toast.ts
Expand Up @@ -41,7 +41,6 @@ export class NgbToastHeader {
'aria-atomic': 'true',
'[class.toast]': 'true',
'[class.show]': 'true',
'[class.autohide]': 'autohide',
},
template: `
<ng-template #headerTpl>
Expand Down

0 comments on commit 22c82a8

Please sign in to comment.