Skip to content

Commit

Permalink
feat(top-app-bar): Increase test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
williamernest committed Feb 12, 2018
1 parent d4ab6a1 commit 254d145
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/unit/mdc-top-app-bar/foundation.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ import {assert} from 'chai';
import {verifyDefaultAdapter} from '../helpers/foundation';
import {setupFoundationTest} from '../helpers/setup';
import MDCTopAppBarFoundation from '../../../packages/mdc-top-app-bar/foundation';
import {strings} from '../../../packages/mdc-top-app-bar/constants';


suite('MDCTopAppBarFoundation');

Expand All @@ -39,3 +41,8 @@ test('#init calls component event registrations', () => {

foundation.init();
});

test('foundation returns strings', () => {
const {foundation} = setupTest();
assert.equal(strings, foundation.strings());
});

0 comments on commit 254d145

Please sign in to comment.