console.log('click')}
+ onClick={() => console.log('standard click')}
/>}
actionItems={[]}
/>
-
+
);
};
diff --git a/test/screenshot/top-app-bar/standardNoActionItems.js b/test/screenshot/top-app-bar/standardNoActionItems.js
index f3b7cac09..b3d99e220 100644
--- a/test/screenshot/top-app-bar/standardNoActionItems.js
+++ b/test/screenshot/top-app-bar/standardNoActionItems.js
@@ -13,7 +13,7 @@ const TopAppBarStandardNoActionItemsScreenshotTest = () => {
onClick={() => console.log('click')}
/>}
/>
-
+
);
};
diff --git a/test/screenshot/top-app-bar/standardWithNavigationIconElement.js b/test/screenshot/top-app-bar/standardWithNavigationIconElement.js
index 5b67301f3..65d414086 100644
--- a/test/screenshot/top-app-bar/standardWithNavigationIconElement.js
+++ b/test/screenshot/top-app-bar/standardWithNavigationIconElement.js
@@ -35,10 +35,11 @@ const TopAppBarStandardWithNavigationIconElementScreenshotTest = () => {
}
actionItems={[]}
/>
-
+
);
};
diff --git a/test/unit/top-app-bar/FixedAdjust.test.js b/test/unit/top-app-bar/FixedAdjust.test.js
index 84e6687f9..12b5cc49e 100644
--- a/test/unit/top-app-bar/FixedAdjust.test.js
+++ b/test/unit/top-app-bar/FixedAdjust.test.js
@@ -25,3 +25,31 @@ test('renders as a different tag name when passed props.tag', () => {
assert.equal(wrapper.find('main').length, 0);
assert.equal(wrapper.type(), 'div');
});
+
+test('has correct dense class', () => {
+ const wrapper = shallow(
+ hello
+ );
+ assert.isTrue(wrapper.hasClass('mdc-top-app-bar--dense-fixed-adjust'));
+});
+
+test('has correct dense prominent class', () => {
+ const wrapper = shallow(
+ hello
+ );
+ assert.isTrue(wrapper.hasClass('mdc-top-app-bar--dense-prominent-fixed-adjust'));
+});
+
+test('has correct prominent class', () => {
+ const wrapper = shallow(
+ hello
+ );
+ assert.isTrue(wrapper.hasClass('mdc-top-app-bar--prominent-fixed-adjust'));
+});
+
+test('has correct short class', () => {
+ const wrapper = shallow(
+ hello
+ );
+ assert.isTrue(wrapper.hasClass('mdc-top-app-bar--short-fixed-adjust'));
+});