We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6f127f commit df2c8cdCopy full SHA for df2c8cd
tests/SidebarToggler.test.js
@@ -13,7 +13,7 @@ configure({ adapter: new Adapter() });
13
describe('AppSidebarToggler', () => {
14
it('renders button with class="navbar-toggler"', () => {
15
expect(render(<AppSidebarToggler className="d-lg-none" display="md" mobile />))
16
- .toContain('<button type="button" class="d-lg-none navbar-toggler"><span class="navbar-toggler-icon"></span></button>')
+ .toContain('<button type="button" class="d-lg-none navbar-toggler" data-sidebar-toggler="true"><span class="navbar-toggler-icon"></span></button>')
17
})
18
it('should call sidebarToggle', () => {
19
let component = mount(<AppSidebarToggler />);
0 commit comments