From 254d14590cf58666dbc86e7ed21e2dad7851a973 Mon Sep 17 00:00:00 2001 From: Will Ernest Date: Mon, 12 Feb 2018 09:01:38 -0800 Subject: [PATCH] feat(top-app-bar): Increase test coverage --- test/unit/mdc-top-app-bar/foundation.test.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/unit/mdc-top-app-bar/foundation.test.js b/test/unit/mdc-top-app-bar/foundation.test.js index 171c9ff2c11..fe2c2da104a 100644 --- a/test/unit/mdc-top-app-bar/foundation.test.js +++ b/test/unit/mdc-top-app-bar/foundation.test.js @@ -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'); @@ -39,3 +41,8 @@ test('#init calls component event registrations', () => { foundation.init(); }); + +test('foundation returns strings', () => { + const {foundation} = setupTest(); + assert.equal(strings, foundation.strings()); +});