Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it('does nothing on server-side', (done) => {
try {
render(ScrollNextLevel, {
context: {
props: {
targetString
}
},
slots: {
default: Target
}
})
done()
} catch (e) { }
})
})
it('shows value after rendering', async () => {
const wrapper = await render(Field, { propsData: { field, model } });
expect(wrapper.text()).toContain('<div></div>');
});
});
expect(() => {
render(App, { localVue })
}).not.toThrow()