Skip to content

Commit 00b5038

Browse files
committed
Remove cookie API
1 parent 320266c commit 00b5038

File tree

3 files changed

+0
-66
lines changed

3 files changed

+0
-66
lines changed

src/api.js

-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import ProductApi from './api/product';
55
import ProductAttributesApi from './api/product-attributes';
66
import SearchApi from './api/search';
77
import CartApi from './api/cart';
8-
import CookieApi from './api/cookie';
98

109
const internals = {};
1110

@@ -29,6 +28,5 @@ export default {
2928
product: new ProductApi(),
3029
search: new SearchApi(),
3130
cart: new CartApi(),
32-
cookie: new CookieApi(),
3331
getPage: internals.getPage,
3432
};

src/api/cookie.js

-63
This file was deleted.

src/test-unit/api.spec.js

-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ describe('API', () => {
1212
expect(api.productAttributes).toBeDefined();
1313
expect(api.product).toBeDefined();
1414
expect(api.search).toBeDefined();
15-
expect(api.cookie).toBeDefined();
1615
expect(api.getPage).toBeDefined();
1716
});
1817
});

0 commit comments

Comments
 (0)