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', () => {
|
describe('cart-dropdown component', () => {
|
||||||
test('initial data rendered as expected', () => {
|
test('initial data rendered as expected', () => {
|
||||||
// Arrange
|
// Arrange
|
||||||
const mainInitialState = {
|
const { wrapper } = getMountedComponent({
|
||||||
order: {
|
order: {
|
||||||
availableVaps: []
|
availableVaps: []
|
||||||
}
|
}
|
||||||
};
|
});
|
||||||
const { wrapper } = getMountedComponent(mainInitialState);
|
|
||||||
|
|
||||||
// Assert
|
// Assert
|
||||||
console.log(wrapper.vm.$data);
|
|
||||||
expect(wrapper.vm.$data).toMatchSnapshot();
|
expect(wrapper.vm.$data).toMatchSnapshot();
|
||||||
});
|
});
|
||||||
describe('displays', () => {
|
describe('displays', () => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue