Skip to content
Snippets Groups Projects

Tests and feat for suggested saving challenge component

2 files
+ 58
0
Compare changes
  • Side-by-side
  • Inline
Files
2
import { mount } from '@vue/test-utils'
import { describe, it, expect } from 'vitest'
import SuggestedSavingChallenge from '@/components/SuggestedSavingChallenge.vue'
describe('Suggested Saving Challenge: Component testing', () => {
it('renders the component without crashing', () => {
const wrapper = mount(SuggestedSavingChallenge,
{global: {
stubs: ['RouterLink']
}
})
expect(wrapper.exists()).toBe(true)
})
})
\ No newline at end of file
Loading