From: Eduardo San Martin Morote Date: Thu, 5 Dec 2019 13:40:15 +0000 (+0100) Subject: chore: remove old param X-Git-Tag: 0.1.0-alpha.0~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59b67f3bd6f85d6e448a03365ea0c03e5dd2ab56;p=thirdparty%2Fvuejs%2Fpinia.git chore: remove old param --- 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()