From 8a468b2d2e99844dda34d7f14dca67780cbe406e Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Mon, 3 May 2021 11:00:37 +0200 Subject: [PATCH] chore: remove old code --- __tests__/pinia/stores/cart.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/__tests__/pinia/stores/cart.ts b/__tests__/pinia/stores/cart.ts index 63eb26ca..f17b96d4 100644 --- a/__tests__/pinia/stores/cart.ts +++ b/__tests__/pinia/stores/cart.ts @@ -1,6 +1,5 @@ import { defineStore } from '../../../src' import { useUserStore, UserStore } from './user' -import { PiniaStore, ExtractGettersFromStore } from 'src/store' export const useCartStore = defineStore({ id: 'cart', @@ -52,8 +51,8 @@ export async function purchaseItems() { const user = useUserStore() if (!user.$state.name) return - console.log('Purchasing', cart.items.value) - const n = cart.items.value.length + console.log('Purchasing', cart.items) + const n = cart.items.length cart.$state.rawItems = [] return n -- 2.47.3