This commit is contained in:
ogerly 2022-06-15 07:41:31 +02:00
parent 60b6b82279
commit e074c99773
4 changed files with 7 additions and 7 deletions

View File

@ -20,7 +20,7 @@ describe('ContributionLink', () => {
})
it('renders the Div Element ".contribution-link"', () => {
expect(wrapper.find('div.contribution-link').exists()).toBeTruthy()
expect(wrapper.find('div.contribution-link').exists()).toBe(true)
})
it('emits toggle::collapse new Contribution', async () => {

View File

@ -49,10 +49,10 @@ describe('ContributionLinkForm', () => {
amount: null,
cycle: 'ONCE',
validTo: null,
maxAmountPerMonth: null,
maxAmountPerMonth: 0,
memo: null,
name: null,
maxPerCycle: null,
maxPerCycle: '1',
validFrom: null,
})
})

View File

@ -44,7 +44,7 @@ describe('ContributionLinkList', () => {
})
it('renders the Div Element ".contribution-link-list"', () => {
expect(wrapper.find('div.contribution-link-list').exists()).toBeTruthy()
expect(wrapper.find('div.contribution-link-list').exists()).toBe(true)
})
describe('edit contribution link', () => {

View File

@ -102,7 +102,7 @@ describe('OpenCreationsTable', () => {
})
it('has a DIV element with the class .open-creations-table', () => {
expect(wrapper.find('div.open-creations-table').exists()).toBeTruthy()
expect(wrapper.find('div.open-creations-table').exists()).toBe(true)
})
it('has a table with three rows', () => {
@ -110,7 +110,7 @@ describe('OpenCreationsTable', () => {
})
it('find first button.bi-pencil-square for open EditCreationFormular ', () => {
expect(wrapper.findAll('tr').at(1).find('.bi-pencil-square').exists()).toBeTruthy()
expect(wrapper.findAll('tr').at(1).find('.bi-pencil-square').exists()).toBe(true)
})
describe('show edit details', () => {
@ -123,7 +123,7 @@ describe('OpenCreationsTable', () => {
})
it.skip('renders the component component-edit-creation-formular', () => {
expect(wrapper.find('div.component-edit-creation-formular').exists()).toBeTruthy()
expect(wrapper.find('div.component-edit-creation-formular').exists()).toBe(true)
})
})