Fix tests by using toBeTruthy() instead of toBe(true)

This commit is contained in:
Wolfgang Huß 2021-08-05 16:22:57 +02:00
parent b7018ffefb
commit b848aeb579
8 changed files with 8 additions and 8 deletions

View File

@ -28,7 +28,7 @@ describe('code-of-conduct.vue', () => {
})
it('renders', () => {
expect(wrapper.is('div')).toBe(true)
expect(wrapper.is('div')).toBeTruthy()
})
it('has correct <head> content', () => {

View File

@ -28,7 +28,7 @@ describe('data-privacy.vue', () => {
})
it('renders', () => {
expect(wrapper.is('div')).toBe(true)
expect(wrapper.is('div')).toBeTruthy()
})
it('has correct <head> content', () => {

View File

@ -28,7 +28,7 @@ describe('donate.vue', () => {
})
it('renders', () => {
expect(wrapper.is('div')).toBe(true)
expect(wrapper.is('div')).toBeTruthy()
})
it('has correct <head> content', () => {

View File

@ -28,7 +28,7 @@ describe('faq.vue', () => {
})
it('renders', () => {
expect(wrapper.is('div')).toBe(true)
expect(wrapper.is('div')).toBeTruthy()
})
it('has correct <head> content', () => {

View File

@ -28,7 +28,7 @@ describe('imprint.vue', () => {
})
it('renders', () => {
expect(wrapper.is('div')).toBe(true)
expect(wrapper.is('div')).toBeTruthy()
})
it('has correct <head> content', () => {

View File

@ -28,7 +28,7 @@ describe('organization.vue', () => {
})
it('renders', () => {
expect(wrapper.is('div')).toBe(true)
expect(wrapper.is('div')).toBeTruthy()
})
it('has correct <head> content', () => {

View File

@ -28,7 +28,7 @@ describe('support.vue', () => {
})
it('renders', () => {
expect(wrapper.is('div')).toBe(true)
expect(wrapper.is('div')).toBeTruthy()
})
it('has correct <head> content', () => {

View File

@ -28,7 +28,7 @@ describe('terms-and-conditions.vue', () => {
})
it('renders', () => {
expect(wrapper.is('div')).toBe(true)
expect(wrapper.is('div')).toBeTruthy()
})
it('has correct <head> content', () => {