remove console log, update unit test

This commit is contained in:
Katie Kroell 2024-05-09 09:32:03 -04:00
parent c26fb8e612
commit 835e5e7b27

View file

@ -60,15 +60,13 @@ beforeEach(() => {
describe('cart-dropdown component', () => {
test('initial data rendered as expected', () => {
// Arrange
const mainInitialState = {
const { wrapper } = getMountedComponent({
order: {
availableVaps: []
}
};
const { wrapper } = getMountedComponent(mainInitialState);
});
// Assert
console.log(wrapper.vm.$data);
expect(wrapper.vm.$data).toMatchSnapshot();
});
describe('displays', () => {