diff --git a/test/unit/mdc-top-app-bar/foundation.test.js b/test/unit/mdc-top-app-bar/foundation.test.js index 291c1db5135..396cf9d72e3 100644 --- a/test/unit/mdc-top-app-bar/foundation.test.js +++ b/test/unit/mdc-top-app-bar/foundation.test.js @@ -22,11 +22,12 @@ import {verifyDefaultAdapter} from '../helpers/foundation'; import MDCTopAppBarFoundation from '../../../packages/mdc-top-app-bar/foundation'; import {strings} from '../../../packages/mdc-top-app-bar/constants'; - suite('MDCTopAppBarFoundation'); test('exports strings', () => { - assert.isOk('strings' in MDCTopAppBarFoundation); + assert.isTrue('strings' in MDCTopAppBarFoundation); + assert.deepEqual(MDCTopAppBarFoundation.strings, strings); + }); test('defaultAdapter returns a complete adapter implementation', () => { @@ -44,10 +45,6 @@ const setupTest = () => { return {foundation, mockAdapter}; }; -test('foundation returns strings', () => { - assert.deepEqual(MDCTopAppBarFoundation.strings, strings); -}); - test('on click emits navigation icon event', () => { const {foundation, mockAdapter} = setupTest(); const handlers = captureHandlers(mockAdapter, 'registerNavigationIconInteractionHandler');