Commit 488f1260 authored by Vitaly Slobodin's avatar Vitaly Slobodin

Fix path to constants

parent 23b5930b
...@@ -17,7 +17,7 @@ localVue.use(VueApollo); ...@@ -17,7 +17,7 @@ localVue.use(VueApollo);
describe('Order Summary', () => { describe('Order Summary', () => {
const resolvers = { ...purchaseFlowResolvers, ...subscriptionsResolvers }; const resolvers = { ...purchaseFlowResolvers, ...subscriptionsResolvers };
const initialStateData = { const initialStateData = {
selectedPlanId: 'silver', selectedPlanId: 'secondPlanId',
}; };
let wrapper; let wrapper;
...@@ -106,7 +106,7 @@ describe('Order Summary', () => { ...@@ -106,7 +106,7 @@ describe('Order Summary', () => {
beforeEach(() => { beforeEach(() => {
createComponent({ createComponent({
subscription: { quantity: 1 }, subscription: { quantity: 1 },
selectedPlanId: 'bronze', selectedPlanId: 'firstPlanId',
}); });
}); });
...@@ -128,7 +128,6 @@ describe('Order Summary', () => { ...@@ -128,7 +128,6 @@ describe('Order Summary', () => {
beforeEach(() => { beforeEach(() => {
createComponent({ createComponent({
subscription: { quantity: 1 }, subscription: { quantity: 1 },
selectedPlanId: 'silver',
}); });
}); });
...@@ -154,7 +153,6 @@ describe('Order Summary', () => { ...@@ -154,7 +153,6 @@ describe('Order Summary', () => {
beforeEach(() => { beforeEach(() => {
createComponent({ createComponent({
subscription: { quantity: 3 }, subscription: { quantity: 3 },
selectedPlanId: 'silver',
}); });
}); });
...@@ -179,7 +177,6 @@ describe('Order Summary', () => { ...@@ -179,7 +177,6 @@ describe('Order Summary', () => {
beforeEach(() => { beforeEach(() => {
createComponent({ createComponent({
subscription: { quantity: 0 }, subscription: { quantity: 0 },
selectedPlanId: 'silver',
}); });
}); });
......
import MockAdapter from 'axios-mock-adapter'; import MockAdapter from 'axios-mock-adapter';
import Api from 'ee/api'; import Api from 'ee/api';
import * as constants from 'ee/subscriptions/new/constants'; import * as constants from 'ee/subscriptions/constants';
import defaultClient from 'ee/subscriptions/new/graphql'; import defaultClient from 'ee/subscriptions/new/graphql';
import * as actions from 'ee/subscriptions/new/store/actions'; import * as actions from 'ee/subscriptions/new/store/actions';
import { GENERAL_ERROR_MESSAGE } from 'ee/vue_shared/purchase_flow/constants'; import { GENERAL_ERROR_MESSAGE } from 'ee/vue_shared/purchase_flow/constants';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment