]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
test: fix warn message
authorEduardo San Martin Morote <posva13@gmail.com>
Mon, 24 Apr 2023 08:00:59 +0000 (10:00 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Mon, 24 Apr 2023 08:00:59 +0000 (10:00 +0200)
packages/pinia/__tests__/store.spec.ts

index a9561cb0deed3fb2ee071a1a397e7e115af619a3..20a84b6e9cc4bd7bd980460355d9da93ce2cb025 100644 (file)
@@ -382,7 +382,7 @@ describe('Store', () => {
 
   it('throws an error if no store id is provided', () => {
     expect(() => defineStore({} as any)).toThrowError(
-      '[🍍]: defineStore must be passed an id string, either as its first argument or via the "id" option.'
+      /must be passed a store id/
     )
   })
 })