From 59b67f3bd6f85d6e448a03365ea0c03e5dd2ab56 Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Thu, 5 Dec 2019 14:40:15 +0100 Subject: [PATCH] chore: remove old param --- __tests__/pinia/stores/user.ts | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/__tests__/pinia/stores/user.ts b/__tests__/pinia/stores/user.ts index d30467b8..67ca840f 100644 --- a/__tests__/pinia/stores/user.ts +++ b/__tests__/pinia/stores/user.ts @@ -1,13 +1,9 @@ import { createStore } from '../../../src' -export const useUserStore = createStore( - 'user', - () => ({ - name: 'Eduardo', - isAdmin: true as boolean, - }), - {} -) +export const useUserStore = createStore('user', () => ({ + name: 'Eduardo', + isAdmin: true as boolean, +})) export function logout() { const store = useUserStore() -- 2.47.2