Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- test('someComputedProperty should evaluate buzzwords correctly', () => {
- const wrapper = mount(CoolCard, {
- propsData: {
- wow: 'wow'
- }
- });
- wrapper.setData({
- buzzword: 'Big Data'
- });
- expect(wrapper.vm.someComputedProperty).toEqual('Big Data is very big');
- });
Add Comment
Please, Sign In to add comment