adapt frontend nav bar unit tests to new design changes

This commit is contained in:
mahula 2022-12-02 22:12:13 +01:00
parent 063d119ef2
commit f051097e6e

View File

@ -5,8 +5,8 @@ const localVue = global.localVue
const propsData = { const propsData = {
balance: 1234, balance: 1234,
visible: false, // visible: false,
pending: false, // pending: false,
} }
const mocks = { const mocks = {
@ -39,8 +39,8 @@ describe('Navbar', () => {
}) })
describe('navigation Navbar (general elements)', () => { describe('navigation Navbar (general elements)', () => {
it('has .navbar-brand in the navbar', () => { it.only('has .navbar-brand in the navbar', () => {
expect(wrapper.find('.navbar-brand').exists()).toBeTruthy() expect(wrapper.find('div.navbar-brand').exists()).toBeTruthy()
}) })
it('has b-navbar-toggle in the navbar', () => { it('has b-navbar-toggle in the navbar', () => {