remove console log, update unit test
This commit is contained in:
parent
c26fb8e612
commit
835e5e7b27
1 changed files with 2 additions and 4 deletions
|
|
@ -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', () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue