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()); +});