{"_id":"vuex-mock-store","_rev":"10-4eedade35ec015d6acca611edfc025c3","name":"vuex-mock-store","dist-tags":{"latest":"0.1.0"},"versions":{"0.0.0":{"name":"vuex-mock-store","version":"0.0.0","description":"Simple and straightforward mock for Vuex v3.x Store","main":"src/index.js","author":{"name":"Eduardo San Martin Morote","email":"posva13@gmail.com"},"scripts":{"lint":"eslint --color --ext=js,html src test","unit":"jest","dev":"npm run unit -- --watchAll","test":"npm run lint && npm run unit"},"keywords":["vue","test","utils","test-utils","store","vuex","mock","vuex-mock","vuex-store-mock","jest","vuex-mock-store"],"license":"MIT","devDependencies":{"babel-jest":"^23.0.1","babel-preset-env":"^1.7.0","codecov":"^3.0.2","eslint":"^5.0.0","eslint-config-posva":"^2.0.0","jest":"^23.1.0"},"repository":{"type":"git","url":"git+https://github.com/posva/vuex-mock-store.git"},"bugs":{"url":"https://github.com/posva/vuex-mock-store/issues"},"jest":{"collectCoverage":true,"moduleFileExtensions":["js","json","vue"],"transform":{"^.+\\.js$":"<rootDir>/node_modules/babel-jest"},"coveragePathIgnorePatterns":["<rootDir>/test/*.js","<rootDir>/test/.*.js","<rootDir>/test/*/*.js"]},"homepage":"https://github.com/posva/vuex-mock-store#readme","gitHead":"92e49aebb757fc5c0e4be204b8525fcb8a564b51","_id":"vuex-mock-store@0.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.5.0","_npmUser":{"name":"posva","email":"posva13@gmail.com"},"dist":{"integrity":"sha512-2UlTRhFf4CA9nP59rAoTx/6q9Ij4pQT1cL0xfflI2oCY39gnL4D6tnC1Yw4/St++nMkhXll/xCZWDEMxjhkJQw==","shasum":"95dcba95b716d24e2068cfe9bff88d9164701e32","tarball":"https://registry.npmjs.org/vuex-mock-store/-/vuex-mock-store-0.0.0.tgz","fileCount":4,"unpackedSize":6801,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbnsOGCRA9TVsSAnZWagAAPXgP+QB/vTZsJFG5xonXtfC9\n/KqAuRF+QqwSLumYf45EF1yac3fz9cCkbhxhtVBBmHQBlcOEw1hZeTLH8AOk\n5LS2RsY42jeJdCyQl+DDU6JAp+yg8L6e3Hw4QTOiYfEjj3EHJt9xoTwhH40a\nHc0FZ9EguF4aFXBJ8GPbU9n9G8Ta3SLAU6vBtbNGepO74rh4KAk4JFtq2s/Q\n6CFwLiFHw/Pl+4qRpiqKrGC5CdFK5gPW6LtPHo9QVkyWI6WjxFh1UnqznwiC\nWqzXRsPPVEuGnfEf1NyjKEqvN/5ewMH3X/jY2DIWOxtaWC9q9wyiq1KiND93\n5DTaLomILRXK5L9fXrO8dVvBeDbctkE3+MlkgjGYp85e7hGP3djWgSRtZB8y\njjs7+nn9rjCifuO2cLSjBEtZB8jzWXyokMdKVc+gOC5PXBEpzgze3MtPKJZC\nm+55XC4dZ1oIk1TVtm+1pnVfzdwDWzQS08m5RB3/aqKu0z2Q/w16QwpBng77\ngKjLiSIlndnams17MgD370QRFfx4wzI1gR9xnVXXmJJ9BoRuPFY42hDqb6gX\niqLgernQ2uL7L4qk4x4bX5g4JEH7ctgW5PQPnjZxc2EGYrPGH9ytq9AmPBNg\n1wCrkH+daDXKTWXsP6tOLXy6MU4KvefvhnDsYOEguY7B3scBvL1ztPQZ1oQp\niBPd\r\n=zIzm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCo5gTGHa3gbPLqMWzIJ0FpTofowPexQKO6yKtng+r55wIhAMsZ1luss0np9e5w8EPwRb/2UTmsfPiQRw+XKWcrQmSi"}]},"maintainers":[{"name":"posva","email":"posva13@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vuex-mock-store_0.0.0_1537131397829_0.5853216546127971"},"_hasShrinkwrap":false},"0.0.1":{"name":"vuex-mock-store","version":"0.0.1","description":"Simple and straightforward mock for Vuex v3.x Store","main":"src/index.js","author":{"name":"Eduardo San Martin Morote","email":"posva13@gmail.com"},"scripts":{"lint":"eslint --color --ext=js,html src test","unit":"jest","dev":"npm run unit -- --watchAll","test":"npm run lint && npm run unit"},"keywords":["vue","test","utils","test-utils","store","vuex","mock","vuex-mock","vuex-store-mock","jest","vuex-mock-store"],"license":"MIT","devDependencies":{"@vue/test-utils":"^1.0.0-beta.25","codecov":"^3.1.0","eslint":"^5.6.0","eslint-config-posva":"^2.0.1","jest":"^23.6.0","vue":"^2.5.17","vue-template-compiler":"^2.5.17","vuex":"^3.0.1"},"repository":{"type":"git","url":"git+https://github.com/posva/vuex-mock-store.git"},"bugs":{"url":"https://github.com/posva/vuex-mock-store/issues"},"jest":{"collectCoverage":true,"moduleFileExtensions":["js","json","vue"],"transform":{"^.+\\.js$":"<rootDir>/node_modules/babel-jest"},"coveragePathIgnorePatterns":["<rootDir>/test/*.js","<rootDir>/test/.*.js","<rootDir>/test/*/*.js"]},"homepage":"https://github.com/posva/vuex-mock-store#readme","dependencies":{"lodash.clonedeep":"^4.5.0"},"gitHead":"36cd2db0be8d58a3f9652131381286901cfb04b4","_id":"vuex-mock-store@0.0.1","_npmVersion":"6.4.1","_nodeVersion":"10.5.0","_npmUser":{"name":"posva","email":"posva13@gmail.com"},"dist":{"integrity":"sha512-o3ojvgPgoGE8bCSO813p9kb0Uy+PKPDC7mDD6zPG5+4LGbDuwrd4E2bil+N6AA/wJgkFjRm1NXI0D0gVPCqEDw==","shasum":"d31c9b5810775fd474e054e72043026baeaac2ea","tarball":"https://registry.npmjs.org/vuex-mock-store/-/vuex-mock-store-0.0.1.tgz","fileCount":4,"unpackedSize":8052,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboW8KCRA9TVsSAnZWagAANf8P/jU4ex01Ph/4LbRCEHf4\nUj7BhiG7kMNfoddJIo7tv3vBEruc7nva+kPUJv90XuorXNQxQcRMRWDUdOKZ\nfvgGITvpmHTx6Lmf+zqkbrEI02jOXHfaYNGWPghN6QfEUxs8DPYP3L80G3Nr\nnQZP1ZWjuLRz5TsPxz704NNHqq0u+O8s+rvN02vQj77LlTOcYPTTHoD2SADP\ndx9cvYPKERig1s2HRHdnjBWE72O9yRfb32fbrfegHC198A7U4EEOLcRCg+uX\nj/lU9JPz0CCWEhKDAUtS/Hcs5SilihXVMwRRI8D1/2fR8uDsOCwtexiGRqWA\nL40UHPhM/NhWJRElbRMSAa3oZh7tXFEp4Tmz1tdepVNyWGrl64+yIyQLNdQp\nja+fq3y/txX3iRX9SpFR+ixnxZEfJiQLdABQVwfs6AyxYtRbbpyAVFMhp5JN\nGEBACkUy44RHr7U2Wz6ItqQGATYgo+N7AGmSdM7jmQgwBu52TmlA5ceP8RWZ\no0K0cj8xLyjq/qO8M9+LgTuiSfvW0qWQeahFA/dV7WMebqoTWkdEU9B7E4bt\nMnCC9Vjaw8UzJBk2U8Ie9TiDjnoAzA8E7KVtq5cRykLxDKlYf5CHJqi1muqu\nwFl8X10FGSfymlYr2+XIihrZVWoVdm5frRhZoLyMAatOGzEIK3puXIQzJGYi\nyLF7\r\n=FFLS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDOQOzBf0THJREl5h+97qYWPIpr/xyGcHdMx6Ru42OhHAIhAPN59vwyX4rX+4pTCCSc2cx/0Ry2aJ3RucmnHQbZ8QvM"}]},"maintainers":[{"name":"posva","email":"posva13@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vuex-mock-store_0.0.1_1537306377737_0.8314961184551799"},"_hasShrinkwrap":false},"0.0.2":{"name":"vuex-mock-store","version":"0.0.2","description":"Simple and straightforward mock for Vuex v3.x Store","main":"src/index.js","types":"src/index.d.ts","author":{"name":"Eduardo San Martin Morote","email":"posva13@gmail.com"},"scripts":{"lint":"eslint --color --ext=js,html src test","unit":"jest","dev":"npm run unit -- --watchAll","test":"npm run lint && npm run unit"},"keywords":["vue","test","utils","test-utils","store","vuex","mock","vuex-mock","vuex-store-mock","jest","vuex-mock-store"],"license":"MIT","devDependencies":{"@types/jest":"^23.3.2","@vue/test-utils":"^1.0.0-beta.25","codecov":"^3.1.0","eslint":"^5.6.0","eslint-config-posva":"^2.0.1","jest":"^23.6.0","vue":"^2.5.17","vue-template-compiler":"^2.5.17","vuex":"^3.0.1"},"repository":{"type":"git","url":"git+https://github.com/posva/vuex-mock-store.git"},"bugs":{"url":"https://github.com/posva/vuex-mock-store/issues"},"jest":{"collectCoverage":true,"moduleFileExtensions":["js","json","vue"],"transform":{"^.+\\.js$":"<rootDir>/node_modules/babel-jest"},"coveragePathIgnorePatterns":["<rootDir>/test/*.js","<rootDir>/test/.*.js","<rootDir>/test/*/*.js"]},"homepage":"https://github.com/posva/vuex-mock-store#readme","dependencies":{"lodash.clonedeep":"^4.5.0"},"gitHead":"7644d21ba88737137ae0219e7d37cd29e6503b1a","_id":"vuex-mock-store@0.0.2","_npmVersion":"6.4.1","_nodeVersion":"10.5.0","_npmUser":{"name":"posva","email":"posva13@gmail.com"},"dist":{"integrity":"sha512-W7sS6GpzzTjfgq0vKuPsjFiJvl++KQITazZ63GAW07hgb9VnlE7bawJO7cfSiwCX/2pMIKf9A887uCiw3P2FIg==","shasum":"ede955a6872a3b1037657e4b8d487d7bcd52e698","tarball":"https://registry.npmjs.org/vuex-mock-store/-/vuex-mock-store-0.0.2.tgz","fileCount":5,"unpackedSize":9119,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbo5TgCRA9TVsSAnZWagAAIWkQAJk/OXbKyhd4vOExMxZI\nUugD6RWFYWigAQ7mmM0tzn/p8AiRk/4Qza1pP+P145mz2x+SziFIoBIeolTY\noLGSamgB5zRNd9CP6+d1eZ4pmxwQVHcTH3QOVriBHSXDup48rXj0imrtVMpB\nCug9Sz56sc0U+K+uS1YS5MgOKKG17pB3Dtkk0FKl90UzXu2HyApaaJoZiHFb\n0LvSJm/ZxPjvdn406h4lqt2TjZmFZI81elrGWg/e47TdJbprrZteIfStCVsM\nkiITsd/RYQqxPKAG8SL+dyxdE0MF46SAsUboa4CmbnMylTc99V4fZVWTI9Hp\nTagyTuySpAoq0WKL7cZmxfB7498kwDnfBFjTP1Q9STFOYNFk8kqs1eLfBpd1\nvA4yY2DvAsd7l69D+QvovGYyXDznuKkqbDfSa2XiKIVpOrqwob84BEUS2pdu\n+c0jTU1dkC9KpYSQyIvjG13yLaACsrKhrUJaaVhkGWpNJbqYyDvNxVL+aj2t\nMyzgjYZrLtA8IT49oZoXGhmBvoQeZ9AApgvcydt9eJsnEbL/swrjnlaeKD2d\nNv3IpNDNOZxaPYZJLJBIulUuy3DIS1vRrgMgL44wfSgvlgauKe/L0U513fio\nCBgfMxvu11NEcORQRd4O0Tr5xZfkXXzwiO/lFnQ9PgMqI52a/VfyzJEXz65S\nk8Ot\r\n=oHks\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4jzZisqplhBbSwfNbvGFLp2qpf29zn23+wm9C4ZCL2wIgY6fv7yt8OcymfbN9CXQTyvlqA7lgFbfaghlhKOLmZiM="}]},"maintainers":[{"name":"posva","email":"posva13@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vuex-mock-store_0.0.2_1537447135896_0.9002760872602251"},"_hasShrinkwrap":false},"0.0.3":{"name":"vuex-mock-store","version":"0.0.3","description":"Simple and straightforward mock for Vuex v3.x Store","main":"src/index.js","types":"src/index.d.ts","author":{"name":"Eduardo San Martin Morote","email":"posva13@gmail.com"},"scripts":{"lint":"eslint --color --ext=js,html src test","unit":"jest","dev":"npm run unit -- --watchAll","test":"npm run lint && npm run unit"},"keywords":["vue","test","utils","test-utils","store","vuex","mock","vuex-mock","vuex-store-mock","jest","vuex-mock-store"],"license":"MIT","devDependencies":{"@types/jest":"^23.3.2","@vue/test-utils":"^1.0.0-beta.25","codecov":"^3.1.0","eslint":"^5.6.0","eslint-config-posva":"^2.0.1","jest":"^23.6.0","vue":"^2.5.17","vue-template-compiler":"^2.5.17","vuex":"^3.0.1"},"repository":{"type":"git","url":"git+https://github.com/posva/vuex-mock-store.git"},"bugs":{"url":"https://github.com/posva/vuex-mock-store/issues"},"jest":{"collectCoverage":true,"moduleFileExtensions":["js","json","vue"],"transform":{"^.+\\.js$":"<rootDir>/node_modules/babel-jest"},"coveragePathIgnorePatterns":["<rootDir>/test/*.js","<rootDir>/test/.*.js","<rootDir>/test/*/*.js"]},"homepage":"https://github.com/posva/vuex-mock-store#readme","dependencies":{"lodash.clonedeep":"^4.5.0"},"gitHead":"9116575e2b8d69bbbf14d3e9b27cb0c3d3b68530","_id":"vuex-mock-store@0.0.3","_npmVersion":"6.4.1","_nodeVersion":"10.5.0","_npmUser":{"name":"posva","email":"posva13@gmail.com"},"dist":{"integrity":"sha512-7gporKoGPuqRUzvaDPasHYKNK2TeCTwT+6E5/aE8C/wScBX5+2bw49lRp8UcMfHr7UWpocTJeQpNjpg9QJ9CSA==","shasum":"507673c0804fc9aab591d257bbd09f98b96aae0e","tarball":"https://registry.npmjs.org/vuex-mock-store/-/vuex-mock-store-0.0.3.tgz","fileCount":5,"unpackedSize":10116,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbo5vNCRA9TVsSAnZWagAA52UP/iZK5eRhy4IoRXUKMpoo\n/ViCGc34WcRdqZguInri7v5bf6e9Hh4YORakkcl7jaPCcng4BGbiNddC1tr0\nmI5Uc/w5AXx/2Kbmb/VY3UNLK2giHcHsDYvwVg8ydmWoEUV4RNt/VgE5/7FP\nq963Xbp1/B1VUo5RFg0D+XEeFuRwl5h3slMYldTKU/YZ5PAX0RXxUnomYr7S\nIqC5HUJNq215hUYisPvzMq2N0lLIrqmOiC2/DydCIgGYg9JRYrsD0wU7C016\nc2dh75kIu+ocrTzRqGb2QpHVTW2HBKgUSt0V3S8N5F3q+ddJtqTKZvHzLnQo\ntnT1yZMEDI5zeoQhvcSmpo7WXQVFoE3r5Gn6wgtX9y1ueF9mN2MqqLtsNKT6\nz3RDEj8d7dv0BnttodbssSLezlqLFaHATSoy2LMHJWq2GQLz+cXnhT72+RuD\nl5DSioMNJ7mDPYBkkfg2IF+PSZKi0no/zGdrefROpAF0IahLZsTw9w22u2E4\nQI1klABrO8Wzrz/kCDeVkE2xbTlFKb2sR9u8ZWkFpNkSAMSVOv0Km1D7yIVL\nDC8/8FZevDT88gXvm17W5v+7/n3jUy6vwnpi+Ro5blORpL/dyDDzHLUUselX\nVk9tRuNkXcCpqQicntNdtTbkvLiUjJpa98jkPQBOrSCAA1wekHENY49TQS/j\nE1FC\r\n=flVZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDa0Qx3nPKOumQ9/7IgZmWKrEZErAyiAt7jteoQB7QbEAiEAm+xmRETbIfFqSLaZhVHIeK6ziHzQE2N9i/9x7M1yS0k="}]},"maintainers":[{"name":"posva","email":"posva13@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vuex-mock-store_0.0.3_1537448908566_0.1955229349330636"},"_hasShrinkwrap":false},"0.0.4":{"name":"vuex-mock-store","version":"0.0.4","description":"Simple and straightforward mock for Vuex v3.x Store","main":"src/index.js","types":"src/index.d.ts","author":{"name":"Eduardo San Martin Morote","email":"posva13@gmail.com"},"scripts":{"lint":"eslint --color --ext=js,html src test","unit":"jest","dev":"npm run unit -- --watchAll","test":"npm run lint && npm run unit"},"keywords":["vue","test","utils","test-utils","store","vuex","mock","vuex-mock","vuex-store-mock","jest","vuex-mock-store"],"license":"MIT","devDependencies":{"@types/jest":"^23.3.2","@vue/test-utils":"^1.0.0-beta.25","codecov":"^3.1.0","eslint":"^5.6.0","eslint-config-posva":"^2.0.1","jest":"^23.6.0","vue":"^2.5.17","vue-template-compiler":"^2.5.17","vuex":"^3.0.1"},"repository":{"type":"git","url":"git+https://github.com/posva/vuex-mock-store.git"},"bugs":{"url":"https://github.com/posva/vuex-mock-store/issues"},"jest":{"collectCoverage":true,"moduleFileExtensions":["js","json","vue"],"transform":{"^.+\\.js$":"<rootDir>/node_modules/babel-jest"},"coveragePathIgnorePatterns":["<rootDir>/test/*.js","<rootDir>/test/.*.js","<rootDir>/test/*/*.js"]},"homepage":"https://github.com/posva/vuex-mock-store#readme","dependencies":{"lodash.clonedeep":"^4.5.0"},"gitHead":"8c9714addde8a829496179377b51143203713efd","_id":"vuex-mock-store@0.0.4","_npmVersion":"6.4.1","_nodeVersion":"10.5.0","_npmUser":{"name":"posva","email":"posva13@gmail.com"},"dist":{"integrity":"sha512-e9gJ6WCoalx4pGllXqyMk8YyQhsqn27c4hvshcFyZy1akdWh69CoEzt/rLqwAf83fz7e0zIj3FMDTKqni8WY0Q==","shasum":"af863c6683312988a56fa1e5464b1aac1a79d16f","tarball":"https://registry.npmjs.org/vuex-mock-store/-/vuex-mock-store-0.0.4.tgz","fileCount":5,"unpackedSize":11518,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbpQ1DCRA9TVsSAnZWagAAVUkQAIXr4MYdeYY7RNRd1Zry\nD2MajXR0eCSNgg4wy/0qKg7ntadsytbIDqeJoof7La0nMwDI8JSBNQrlKS5O\ns9B2u1wo0zBkYxuwjeW3MVJTGS9BtvJVbPovHum8jtih5EVE07TPcIWIR6X8\nthua/424F7ttoXeKviOuu2G6CFFXnbsDnElePxY9E9BvekU8hM1/C3r82QMX\n4YaPMHqJ+9Npsp8eLqywVdM/HIzf7UMvVegNOclXRcAHbwniFyBMEYF/eiZn\njG+QT2RHiMPd2Yw16yoALDHO/1tO7klR41b88fThqheuin7jtdqoGk3ZqHs/\nub23OkYICFGjZogkGnISMcTnQOTlrsowMzLrn+ZDw+cMPba8YYWNDqND2/ZH\n/KSQLv2KvfdFVzFZU1WD8ElEFrfYqdNy7qZgL55n74lB4pi0/KCqBvG5NCwd\nVajssgZOxIkgWp7zuuxMZHjuKBKHzkDbRtHCiwto+taWa5Gc24XlDIGqnlxa\n7fGLYtC58QEJRRPYrfYu65jb4nzWz4i7c3G9PkFFe5495dnEYNjH90+dhGO9\nLzRA+pKK5tLqx6NnEEBShBEDzU1Blg3Kvt9V0AfvcwCUedgyqb3kBt7tEfZe\nnlWGQsPcT52Gd4K/icV9jZXUVF6go4yWsQM2wUEGeX4C8V7+z7+Q2kqZDe9H\nKopX\r\n=ajvx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICcKiMFu4lD0AGIaXFYa6N31zNDJrEHxth1/DGLERTjdAiA8rfXqGvz7WZT5VrU0q4vOSZWi+/Q3SgTYGLrLDFnF5Q=="}]},"maintainers":[{"name":"posva","email":"posva13@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vuex-mock-store_0.0.4_1537543490545_0.3557390973265313"},"_hasShrinkwrap":false},"0.0.5":{"name":"vuex-mock-store","version":"0.0.5","description":"Simple and straightforward mock for Vuex v3.x Store","main":"src/index.js","types":"src/index.d.ts","author":{"name":"Eduardo San Martin Morote","email":"posva13@gmail.com"},"scripts":{"lint":"eslint --color --ext=js,html src test","unit":"jest","dev":"npm run unit -- --watchAll","test":"npm run lint && npm run unit"},"keywords":["vue","test","utils","test-utils","store","vuex","mock","vuex-mock","vuex-store-mock","jest","vuex-mock-store"],"license":"MIT","devDependencies":{"@types/jest":"^23.3.2","@vue/test-utils":"^1.0.0-beta.25","codecov":"^3.1.0","eslint":"^5.6.0","eslint-config-posva":"^2.0.1","jest":"^23.6.0","vue":"^2.5.17","vue-template-compiler":"^2.5.17","vuex":"^3.0.1"},"repository":{"type":"git","url":"git+https://github.com/posva/vuex-mock-store.git"},"bugs":{"url":"https://github.com/posva/vuex-mock-store/issues"},"jest":{"collectCoverage":true,"moduleFileExtensions":["js","json","vue"],"transform":{"^.+\\.js$":"<rootDir>/node_modules/babel-jest"},"coveragePathIgnorePatterns":["<rootDir>/test/*.js","<rootDir>/test/.*.js","<rootDir>/test/*/*.js"]},"homepage":"https://github.com/posva/vuex-mock-store#readme","dependencies":{"lodash.clonedeep":"^4.5.0"},"gitHead":"f7c4c95c59147962a4f135f00f55fe531398355e","_id":"vuex-mock-store@0.0.5","_npmVersion":"6.4.1","_nodeVersion":"10.5.0","_npmUser":{"name":"posva","email":"posva13@gmail.com"},"dist":{"integrity":"sha512-+1wcDURZbA9r6rsNRfkYOTEcx+0B2h86Vwa1fGPbFTMKlOgPeRUH8tQGoK0SYc4+JYW89MD+oarmSC16B5+zWw==","shasum":"f079665a5589650f44a6f136ea93eef34c1bc34b","tarball":"https://registry.npmjs.org/vuex-mock-store/-/vuex-mock-store-0.0.5.tgz","fileCount":5,"unpackedSize":11911,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxOzmCRA9TVsSAnZWagAA+4IP/366+U6EO8QS4VFkKd5K\njR4ouliXZCv1woeOu9fcg3mZwFUMGKRW2jVdX+LorcxoiQQ1yRUUTO/AeCt7\nZD9/jcIibcJV7/jdPUOIkWhMqU8f4LxPnjtvAUkiZZ9DL6Itp/hvVhuZwWSg\nxqCjqzffjDNVRNwrBi6XIgVCoVUU9QP+pOjaWnoiQRaesyl43EZ/jira8fIV\noxdn4XfgK7kV5kSHAR6xL9rCdttjBFbzyXwacdLPP6QXR8RG8YrdhYqzJO6r\nBN9tH3w/y85JhVpXXhy7dqUncylZZ8NYxaBSCo0U3mkZyayELPChOUTt02om\nKgnmSok+4DAze9bHbficqHIbyuoJ2+ydxLjaJlusB6UQJbpGqORCpPG9ocOl\n8b1Uw33mlaSp9j7Eu6MTW/fZpdUhtUiqzxkZwEjYpZ/Nmv7+LtC4ZqOInWNA\nFTJIj8mTosgxZAhSM2m2DB87srKYhPFN4mF82QqzxtHqSp5ZYOxXrXnfVHfW\nHTJUAuJHK6KjMpRPyGt5LiSU7UceXbTI981mad/PxxJCwTU0KHm2QV/LSYYZ\nJ/tSTdB3KTedN+fLM5cX4A0bPfm3kYlNwVTpuR6H/NAX8GIDyXpdiSYAd9Mz\n4vGvS46nbfNieTPoVq8zjRJCopXooOwIVD2lloeMIt1i5+i3b0GmR0KjUeuQ\nRb0q\r\n=3C4S\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBQf8hj5l6lm086M6IFZD0YgipwIITjadsSQAzzgrd6iAiATC1x1n+eeKQT01ttNybimFypYgTiFjZrm4FkwRSMWAw=="}]},"maintainers":[{"name":"posva","email":"posva13@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vuex-mock-store_0.0.5_1539632357869_0.5910617060040697"},"_hasShrinkwrap":false},"0.0.6":{"name":"vuex-mock-store","version":"0.0.6","description":"Simple and straightforward mock for Vuex v3.x Store","main":"src/index.js","types":"src/index.d.ts","author":{"name":"Eduardo San Martin Morote","email":"posva13@gmail.com"},"scripts":{"lint":"eslint --color --ext=js,html src tests","unit":"jest","dev":"npm run unit -- --watchAll","test":"npm run lint && npm run unit"},"keywords":["vue","test","utils","test-utils","store","vuex","mock","vuex-mock","vuex-store-mock","jest","vuex-mock-store"],"license":"MIT","devDependencies":{"@types/jest":"^23.3.10","@vue/test-utils":"^1.0.0-beta.26","codecov":"^3.1.0","eslint":"^5.10.0","eslint-config-posva":"^2.0.3","jest":"^23.6.0","vue":"^2.5.18","vue-template-compiler":"^2.5.18","vuex":"^3.0.1"},"repository":{"type":"git","url":"git+https://github.com/posva/vuex-mock-store.git"},"bugs":{"url":"https://github.com/posva/vuex-mock-store/issues"},"jest":{"collectCoverage":true,"moduleFileExtensions":["js","json","vue"],"coveragePathIgnorePatterns":["<rootDir>/tests/*.js","<rootDir>/tests/.*.js","<rootDir>/tests/*/*.js"]},"homepage":"https://github.com/posva/vuex-mock-store#readme","dependencies":{"lodash.clonedeep":"^4.5.0"},"gitHead":"99bff118ea90634b60f64190971e116480f159d8","_id":"vuex-mock-store@0.0.6","_npmVersion":"6.5.0","_nodeVersion":"10.5.0","_npmUser":{"name":"posva","email":"posva13@gmail.com"},"dist":{"integrity":"sha512-cye3rEbOiax5rr/gzuE2HNdqHKdGKneQagRkrAAF63r487t0P5oLYZKkDsn4M62ei8w/9WhDTK78/qwpQDnQtQ==","shasum":"7d69d5e096514d0c268824a25c0d2025b373c764","tarball":"https://registry.npmjs.org/vuex-mock-store/-/vuex-mock-store-0.0.6.tgz","fileCount":5,"unpackedSize":11939,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNljYCRA9TVsSAnZWagAADnUQAKJ0LIXtFguzt5O5nOxs\ntoMUQ/m6aylDfhNkRda6LGCwgKk1umH+DTnraMb9hvNwHHRGothxpK4NWafs\nF64khpRjLB4xjS90a0hro1KIBLAx/O1gfIU7mCANs1Msk3XPrk3/MIZCrKuv\nOG8Nh6FDSFkrlphtsnjq/9q23WKOC4aXBZPFwJXCtJ0/ZmFgWhL016iO4/6x\n6xIhqFx1dA8wZ4ULJBs+6g41VhItgdUym58uqG6FYsa8INEvj10xgPM0ca+6\nTMTCLSLc3AEi5FXqQOsn5EhaNK67ssDFc9OCnseSx/zXqxacJmWBc6I7MuEc\n2Q7P5emYazZouoJkVjtHi8RMWoR8OEQvEQvBaZF1P/WEMv92U0GwbdVNoebh\nu/gnazD+Ve8th9SwZ/xJho6UW/DKbQqDPGnuM+6t52oAujhV3udptyDM3Fdt\nC1c19XwQYzEVgJpRv5MZz+xh/r91yjrxT/AyB6VHbtyr/IgSrNYNld7xPXqm\nF9NGU2LTrO+K+V6Af/ypKClKphjxuNyh++WQgoFcJbIlqU7OexDwtddL4YIX\nan05O8+laD8WHDKj2ARZIX42ou5Wa6ES2R9GlzNO+ZMjzHtO6WuEBv9VnCv6\n8js7kQMYWeW5RaxzMaQyxW4ta84pu+XMjBCtCPcPe3WDz1/63k6jt/5TcrSz\nUrEj\r\n=bO7R\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGxdnl+o3VbLfkrE+rSYhyHILooo8pTEcx12gFbHdKT+AiEA1xhz+RaDeGqQJdobB0bHIWj6d7soJCM1ocr/UGPeodk="}]},"maintainers":[{"name":"posva","email":"posva13@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vuex-mock-store_0.0.6_1547065559626_0.23150372113435047"},"_hasShrinkwrap":false},"0.0.7":{"name":"vuex-mock-store","version":"0.0.7","description":"Simple and straightforward mock for Vuex v3.x Store","main":"src/index.js","types":"src/index.d.ts","author":{"name":"Eduardo San Martin Morote","email":"posva13@gmail.com"},"scripts":{"lint":"eslint --color --ext=js,html src tests","unit":"jest","dev":"npm run unit -- --watchAll","test":"npm run lint && npm run unit"},"keywords":["vue","test","utils","test-utils","store","vuex","mock","vuex-mock","vuex-store-mock","jest","vuex-mock-store"],"license":"MIT","devDependencies":{"@types/jest":"^24.0.0","@types/lodash.clonedeep":"^4.5.4","@vue/test-utils":"^1.0.0-beta.29","codecov":"^3.1.0","eslint":"^5.13.0","eslint-config-posva":"^2.0.3","jest":"^24.1.0","vue":"^2.6.4","vue-template-compiler":"^2.6.4","vuex":"^3.1.0"},"repository":{"type":"git","url":"git+https://github.com/posva/vuex-mock-store.git"},"bugs":{"url":"https://github.com/posva/vuex-mock-store/issues"},"jest":{"collectCoverage":true,"moduleFileExtensions":["js","json","vue"],"coveragePathIgnorePatterns":["<rootDir>/tests/*.js","<rootDir>/tests/.*.js","<rootDir>/tests/*/*.js"]},"homepage":"https://github.com/posva/vuex-mock-store#readme","dependencies":{"lodash.clonedeep":"^4.5.0"},"gitHead":"cfef1a46fc466af1941cde8b62a7a55bc1f93260","_id":"vuex-mock-store@0.0.7","_npmVersion":"6.5.0","_nodeVersion":"10.5.0","_npmUser":{"name":"posva","email":"posva13@gmail.com"},"dist":{"integrity":"sha512-Hd8q/lab+U/b0o0YvGvUWbxtrFbRTxwTMp+VL8qPQ1l2wmhJOMBwb086yil5dn1i2qLiF8Y5UtgKqCMcLzShKQ==","shasum":"b18c529bc48b23dc596fdf9e0739676ae16dd7d1","tarball":"https://registry.npmjs.org/vuex-mock-store/-/vuex-mock-store-0.0.7.tgz","fileCount":5,"unpackedSize":14682,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcXw14CRA9TVsSAnZWagAAa5AQAKS8jdX3dT0fZOjM0fgg\nLnQ/WvNToIEcX5iuxZQ6ThBdfhfAwPHGDWKpZQmtrSFTgIWQmHGB/iw/8kd2\nziH2GHlQuTB3zIxaseLcN3SvnSUy7uYDQ7c/LAyda7RIJLNz4caDU1FA97Us\nC6B+/asRwCg1n9W4zPPvYdKn6Liwx5vKmUi9LMjiMkXiSYzILWl1U0AzQnyV\n7MYNpy0M5JmgcjfN8hSNWpe89p6AFhV1BviAU020CrNqBhiq0HMQKaFIS+pC\nDSxds8xup7ruzM+r02FALigYG7A+b0f3hfi0e+OqHEUppm+k1ODkQypJQnza\nonXiprUWLzGk2+gATvjfOPnjVHLo3T9j+/ivw3PhcoATaZyQtLR0Bd7mmIpo\n/y2pQGUxegH1WzgymK4ZK8bS5aOyJeeXpVSTegrcqADOLS2ChvkaqW/LsV60\n/Y0Fk3sfpcpcpAtOkpSXqqaiM93GtraHZTCxYZYN/4Rv+o4IlH5vLk24Fdzw\nKbiRNp/lxKnKqqpzugk3htqe/btL7Gt19A3fmmkuWnLiu7tfbcd2MkHyYadm\nYzycREh7btIvo9O/Tei5unTGiG0ee1Zf/z+wIfa5dn5XITrNjiWPD39b2hby\nRsQ23wA5fp2BE1aTxJSSCsyvJcFy5udvT49QpwjhVWmIDdj3pvY6xRdGLyae\njihS\r\n=KFim\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDj1YxqadCgctv7U1Sl/ecADK+eMieg1hWSyqRDQLu9CwIhAOtmUico3Yo6Gjx5p0BQtKSy9rvnUkWD/AKhDbUMSp41"}]},"maintainers":[{"name":"posva","email":"posva13@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vuex-mock-store_0.0.7_1549733240179_0.6439881604057198"},"_hasShrinkwrap":false},"0.0.8":{"name":"vuex-mock-store","version":"0.0.8","description":"Simple and straightforward mock for Vuex v3.x Store","main":"src/index.js","types":"src/index.d.ts","author":{"name":"Eduardo San Martin Morote","email":"posva13@gmail.com"},"scripts":{"lint":"eslint --color --ext=js,html src tests","unit":"jest","dev":"npm run unit -- --watchAll","test":"npm run lint && npm run unit"},"keywords":["vue","test","utils","test-utils","store","vuex","mock","vuex-mock","vuex-store-mock","jest","vuex-mock-store"],"license":"MIT","devDependencies":{"@types/jest":"^24.0.12","@types/lodash.clonedeep":"^4.5.6","@vue/test-utils":"^1.0.0-beta.29","codecov":"^3.3.0","eslint":"^6.0.1","eslint-config-posva":"^3.0.3","jest":"^24.7.1","vue":"^2.6.10","vue-template-compiler":"^2.6.10","vuex":"^3.1.0"},"repository":{"type":"git","url":"git+https://github.com/posva/vuex-mock-store.git"},"bugs":{"url":"https://github.com/posva/vuex-mock-store/issues"},"jest":{"collectCoverage":true,"moduleFileExtensions":["js","json","vue"],"coveragePathIgnorePatterns":["<rootDir>/tests/*.js","<rootDir>/tests/.*.js","<rootDir>/tests/*/*.js"]},"homepage":"https://github.com/posva/vuex-mock-store#readme","dependencies":{"lodash.clonedeep":"^4.5.0"},"peerDependencies":{"@types/jest":">=24.0.0"},"gitHead":"7b597aab59a83116d20c9571e8686daaca9f8a4d","_id":"vuex-mock-store@0.0.8","_nodeVersion":"10.16.1","_npmVersion":"6.10.2","dist":{"integrity":"sha512-pRCNdUuS4KRtycDuJKLNFqSJB8vb2XeVilM+QUVPM5Tp6HKFSdAVOmpbwWoMbEnPnJEypkb7s6Ee4fFxp1b32g==","shasum":"fc734173b83fe39e813e714b32fd7dbca674f149","tarball":"https://registry.npmjs.org/vuex-mock-store/-/vuex-mock-store-0.0.8.tgz","fileCount":5,"unpackedSize":16160,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd7QgKCRA9TVsSAnZWagAABuQP/0LTz/W3PgaIptBLWasP\nYEv0HoU24Hl8fqm7F6eVJcewndjvsYdXFOYYyvbiZn9hAm8O9h8y6PBOu/zW\nE6Vg2/pm5h8Q8OylF5qNZK8if909uFhA6msvlDGphv8dHUtredvz4soqBwVU\ndhmP7CY41JGbAO6ovk1obAvNHxXTa5kJGQ5scQ2hXvA3zNqggyUb7lROlJam\nYdGBzmGRzwweqGVp/NApIEFHjFEoaXFmxr3LoYG96JIQY6acH3+KRdwufqYR\nbFL/9o0cDqxdahDCBdaqd81f68YU2kNgAuV5FzJSEwBa1SgnjVbcqA/iFY0v\nYv/BYh+R6VAKIm1S0KDvNadE8ZeLQwuro1HTVKHOZgQbr0xaBw1dOtjG/lbL\n/gJ2b4wohD4NarEDy2KAeBjIkF135TJbt63J4DHsmmlYG2C0y01mDnq/cjiG\nAp67DArmLtQWHL8wyG0tSZw27uj6/wxyyno2J7bZal7aeWelgwnIM+utyVfr\nPqQYYUei6IXjZT2rgyq3m7wsHL40H4h+iYTi+lwpQBB5LIc8dcLfqgI7Oe6z\n6hCqP/Ps9h3WCBaKvITbye71GBc06OLjQrqlUHLlfJwxiCXWStrhzN/p9KlB\nzhDWLbdkW6JF1qAUk4Ci8LG3xIjlvSeBL3uadoa7+Sy7zUiU9uWFJwTGH3Mh\nNiUe\r\n=j/m7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/Xc/2WUQ+nJcjUv03iaw5J+X8EW3rxjIEY3uXweSoGQIhAIfVkMMKmW7ctG9D1DmbdcxYWAxW+bFRNPN/6Yrwq6Q9"}]},"maintainers":[{"name":"posva","email":"posva13@gmail.com"}],"_npmUser":{"name":"posva","email":"posva13@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vuex-mock-store_0.0.8_1575815178418_0.13586972628558547"},"_hasShrinkwrap":false},"0.1.0":{"name":"vuex-mock-store","version":"0.1.0","description":"Simple and straightforward mock for Vuex v3.x Store","main":"src/index.js","types":"src/index.d.ts","author":{"name":"Eduardo San Martin Morote","email":"posva13@gmail.com"},"scripts":{"lint":"eslint --color --ext=js,html src tests","unit":"jest","dev":"yarn run unit --watchAll","test":"yarn run lint && yarn run unit"},"keywords":["vue","test","utils","test-utils","store","vuex","mock","vuex-mock","vuex-store-mock","jest","vuex-mock-store"],"license":"MIT","devDependencies":{"@types/jest":"^29.5.1","@types/lodash.clonedeep":"^4.5.7","@vue/test-utils":"^2.3.2","codecov":"^3.8.3","eslint":"^8.40.0","eslint-config-posva":"^4.0.0","jest":"^29.5.0","jest-environment-jsdom":"^29.5.0","vue":"^3.2.47","vue-template-compiler":"^2.7.14","vuex":"^4.1.0"},"repository":{"type":"git","url":"git+https://github.com/posva/vuex-mock-store.git"},"bugs":{"url":"https://github.com/posva/vuex-mock-store/issues"},"jest":{"collectCoverage":true,"moduleFileExtensions":["js","json","vue"],"coveragePathIgnorePatterns":["<rootDir>/tests/*.js","<rootDir>/tests/.*.js","<rootDir>/tests/*/*.js"],"testEnvironment":"jsdom","testEnvironmentOptions":{"customExportConditions":["node","node-addons"]}},"homepage":"https://github.com/posva/vuex-mock-store#readme","dependencies":{"lodash.clonedeep":"^4.5.0"},"peerDependencies":{"@types/jest":">=27.0.3"},"gitHead":"a491090fe5cddd1eeb15883389e7607518c51766","_id":"vuex-mock-store@0.1.0","_nodeVersion":"16.19.1","_npmVersion":"8.19.3","dist":{"integrity":"sha512-NWbZcw91sxDiCsFt4v6jSF6lr7GUBaVmdLvkYOIXIKtfbEUIN3OO+LuByaAzjmrskr5Xg7QQLueteQZoFLMBoA==","shasum":"eddd85d32184e93926b3693866ab43efdba95c9d","tarball":"https://registry.npmjs.org/vuex-mock-store/-/vuex-mock-store-0.1.0.tgz","fileCount":5,"unpackedSize":17306,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFTUxrzoogZSUSu6gtYBPm1gyAXTL5hTLGwOzbacFfeDAiBpS5rVCdXdiiz1JU1mk+TlPLbacmaSxKEn6JRrgLL+Wg=="}]},"_npmUser":{"name":"posva","email":"posva13@gmail.com"},"directories":{},"maintainers":[{"name":"posva","email":"posva13@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vuex-mock-store_0.1.0_1684158938900_0.40622515958544825"},"_hasShrinkwrap":false}},"time":{"created":"2018-09-16T20:56:37.828Z","0.0.0":"2018-09-16T20:56:38.105Z","modified":"2023-05-15T13:55:39.178Z","0.0.1":"2018-09-18T21:32:57.849Z","0.0.2":"2018-09-20T12:38:56.053Z","0.0.3":"2018-09-20T13:08:28.677Z","0.0.4":"2018-09-21T15:24:50.662Z","0.0.5":"2018-10-15T19:39:17.981Z","0.0.6":"2019-01-09T20:25:59.778Z","0.0.7":"2019-02-09T17:27:20.293Z","0.0.8":"2019-12-08T14:26:18.526Z","0.1.0":"2023-05-15T13:55:39.067Z"},"maintainers":[{"name":"posva","email":"posva13@gmail.com"}],"description":"Simple and straightforward mock for Vuex v3.x Store","homepage":"https://github.com/posva/vuex-mock-store#readme","keywords":["vue","test","utils","test-utils","store","vuex","mock","vuex-mock","vuex-store-mock","jest","vuex-mock-store"],"repository":{"type":"git","url":"git+https://github.com/posva/vuex-mock-store.git"},"author":{"name":"Eduardo San Martin Morote","email":"posva13@gmail.com"},"bugs":{"url":"https://github.com/posva/vuex-mock-store/issues"},"license":"MIT","readme":"# vuex-mock-store [![Build Status](https://badgen.net/circleci/github/posva/vuex-mock-store)](https://circleci.com/gh/posva/vuex-mock-store) [![npm package](https://badgen.net/npm/v/vuex-mock-store)](https://www.npmjs.com/package/vuex-mock-store) [![coverage](https://badgen.net/codecov/c/github/posva/vuex-mock-store)](https://codecov.io/github/posva/vuex-mock-store) [![thanks](https://img.shields.io/badge/thanks-%E2%99%A5-ff69b4.svg)](https://github.com/posva/thanks)\n\n> Simple and straightforward mock for Vuex v3.x and v4.x (Vue 2 and 3)\n\nAutomatically creates spies on `commit` and `dispatch` so you can focus on testing your component without executing your store code.\n\n**Help me keep working on Open Source in a sustainable way 🚀**. Help me with as little as \\$1 a month, [sponsor me on Github](https://github.com/sponsors/posva).\n\n<h3 align=\"center\">Silver Sponsors</h3>\n\n<p align=\"center\">\n  <a href=\"https://www.vuemastery.com\" title=\"Vue Mastery\" target=\"_blank\">\n    <img src=\"https://www.vuemastery.com/images/lgo-vuemastery.svg\" alt=\"Vue Mastery logo\" height=\"48px\">\n  </a>\n</p>\n\n<p align=\"center\">\n  <a href=\"https://vuetifyjs.com\" target=\"_blank\" title=\"Vuetify\">\n    <img src=\"https://vuejs.org/images/vuetify.png\" alt=\"Vuetify logo\" height=\"48px\">\n  </a>\n</p>\n\n<h3 align=\"center\">Bronze Sponsors</h3>\n\n<p align=\"center\">\n  <a href=\"https://www.storyblok.com\" target=\"_blank\" title=\"Storyblok\">\n    <img src=\"https://a.storyblok.com/f/51376/3856x824/fea44d52a9/colored-full.png\" alt=\"Storyblok logo\" height=\"32px\">\n  </a>\n</p>\n\n---\n\n## Installation\n\n```sh\nnpm install -D vuex-mock-store\n# with yarn\nyarn add -D vuex-mock-store\n```\n\n## Usage\n\nℹ️: _All examples use [Jest](https://jestjs.io) API_. See [below](#providing-custom-spies) to use a different mock library.\n\nUsage with [vue-test-utils](https://github.com/vuejs/vue-test-utils):\n\nGiven a component `MyComponent.vue`:\n\n```vue\n<template>\n  <div>\n    <p class=\"count\">{{ count }}</p>\n    <p class=\"doubleCount\">{{ doubleCount }}</p>\n    <button class=\"increment\" @click=\"increment\">+</button>\n    <button class=\"decrement\" @click=\"decrement\">-</button>\n    <hr />\n    <button class=\"save\" @click=\"save({ count })\">Save</button>\n  </div>\n</template>\n\n<script>\nimport { mapState, mapGetters, mapActions, mapMutations } from 'vuex'\n\nexport default {\n  computed: {\n    ...mapState(['count']),\n    ...mapGetters(['doubleCount']),\n  },\n  methods: {\n    ...mapMutations(['increment', 'decrement']),\n    ...mapActions(['save']),\n  },\n}\n</script>\n```\n\nYou can test interactions without relying on the behaviour of your actions and mutations:\n\n```js\nimport { Store } from 'vuex-mock-store'\nimport { mount } from '@vue/test-utils'\nimport MyComponent from '@/components/MyComponent.vue'\n\n// create the Store mock\nconst store = new Store({\n  state: { count: 0 },\n  getters: { doubleCount: 0 },\n})\n// add other mocks here so they are accessible in every component\nconst mocks = {\n  global: { $store: store },\n  // for Vue 2.x: just { $store: store } without global\n}\n\n// reset spies, initial state and getters\nafterEach(() => store.reset())\n\ndescribe('MyComponent.vue', () => {\n  let wrapper\n  beforeEach(() => {\n    wrapper = mount(MyComponent, { mocks })\n  })\n\n  it('calls increment', () => {\n    wrapper.find('button.increment').trigger('click')\n    expect(store.commit).toHaveBeenCalledOnce()\n    expect(store.commit).toHaveBeenCalledWith('increment')\n  })\n\n  it('dispatch save with count', () => {\n    wrapper.find('button.save').trigger('click')\n    expect(store.dispatch).toHaveBeenCalledOnce()\n    expect(store.dispatch).toHaveBeenCalledWith('save', { count: 0 })\n  })\n})\n```\n\n⚠️ The mocked `dispatch` method returns `undefined` instead of a Promise. If you rely on this, you will have to call the appropriate function to make the `dispatch` spy return a Promise:\n\n```js\nstore.dispatch.mockReturnValue(Promise.resolve(42))\n```\n\nIf you are using Jest, you can check the documentation [here](https://jestjs.io/docs/en/mock-function-api#mockfnmockreturnvaluevalue)\n\n### Initial state and getters\n\nYou can provide a `getters`, and `state` object to mock them:\n\n```js\nconst store = new Store({\n  getters: {\n    name: 'Eduardo',\n  },\n  state: {\n    counter: 0,\n  },\n})\n```\n\n### Modules\n\n#### State\n\nTo mock module's `state`, provide a nested object in `state` with the same name of the module. As if you were writing the state yourself:\n\n```js\nnew Store({\n  state: {\n    value: 'from root',\n    moduleA: {\n      value: 'from A',\n      moduleC: {\n        value: 'from A/C',\n      },\n    },\n    moduleB: {\n      value: 'from B',\n    },\n  },\n})\n```\n\nThat will cover the following calls:\n\n```js\nimport { mapState } from 'vuex'\n\nmapState(['value']) // from root\nmapState('moduleA', ['value']) // from A\nmapState('moduleB', ['value']) // from B\nmapState('moduleA/moduleC', ['value']) // from C\n```\n\n_When testing `state`, it doesn't change anything for the module to be namespaced or not_\n\n#### Getters\n\nTo mock module's `getters`, provide the correct name based on whether the module is _namespaced_ or not. Given the following modules:\n\n```js\nconst moduleA = {\n  namespaced: true,\n\n  getters: {\n    getter: () => 'from A',\n  },\n\n  // nested modules\n  modules: {\n    moduleC: {\n      namespaced: true,\n      getter: () => 'from A/C',\n    },\n    moduleD: {\n      // not namespaced!\n      getter: () => 'from A/D',\n    },\n  },\n}\n\nconst moduleB = {\n  // not namespaced\n  getters: {\n    getter: () => 'from B',\n  },\n}\n\nnew Vuex.Store({ modules: { moduleA, moduleC } })\n```\n\nWe need to use the following getters:\n\n```js\nnew Store({\n  getters: {\n    getter: 'from root',\n    'moduleA/getter': 'from A',\n    'moduleA/moduleC/getter': 'from A/C',\n    'moduleA/getter': 'from A/D', // moduleD isn't namespaced\n    'moduleB/getter': 'from B',\n  },\n})\n```\n\n#### Actions/Mutations\n\nAs with _getters_, testing actions and mutations depends whether your [modules are namespaced](https://vuex.vuejs.org/guide/modules.html#namespacing) or not. If they are namespaced, make sure to provide the full action/mutation name:\n\n```js\n// namespaced module\nexpect(store.commit).toHaveBeenCalledWith('moduleA/setValue')\nexpect(store.dispatch).toHaveBeenCalledWith('moduleA/postValue')\n// non-namespaced, but could be inside of a module\nexpect(store.commit).toHaveBeenCalledWith('setValue')\nexpect(store.dispatch).toHaveBeenCalledWith('postValue')\n```\n\n_Refer to the module example below using `getters` for a more detailed example, even though it is using only `getters`, it's exactly the same for `actions` and `mutations`_\n\n### Mutating `state`, providing custom `getters`\n\nYou can [modify](#state) the `state` and `getters` directly for any test. Calling [`store.reset()`](#reset) will reset them to the initial values provided.\n\n## API\n\n### `Store` class\n\n#### `constructor(options)`\n\n- `options`\n  - `state`: initial state object, _default_: `{}`\n  - `getters`: getters object, _default_: `{}`\n  - `spy`: interface to create spies. [details below](#providing-custom-spies)\n\n#### `state`\n\nStore state. You can directly modify it to change state:\n\n```js\nstore.state.name = 'Jeff'\n```\n\n#### `getters`\n\nStore getters. You can directly modify it to change a value:\n\n```js\nstore.getters.upperCaseName = 'JEFF'\n```\n\nℹ️ _Why no functions?_: if you provide a function to a getter, you're reimplementing it. During a test, you know the value, you should be able to provide it directly and be **completely sure** about the value that will be used in the component you are testing.\n\n#### `reset`\n\nReset `commit` and `dispatch` spies and restore `getters` and `state` to their initial values\n\n#### Providing custom spies\n\nBy default, the Store will call `jest.fn()` to create the spies. This will throw an error if you are using `mocha` or any other test framework that isn't Jest. In that situation, you will have to provide an interface to _create_ spies. This is the default interface that uses `jest.fn()`:\n\n```js\nnew Store({\n  spy: {\n    create: (handler) => jest.fn(handler),\n  },\n})\n```\n\nThe handler is an optional argument that mocks the implementation of the spy.\n\nIf you use Jest, you don't need to do anything.\nIf you are using something else like [Sinon](https://sinonjs.org), you could provide this interface:\n\n```js\nimport sinon from 'sinon'\n\nnew Store({\n  spy: {\n    create: (handler) => sinon.spy(handler),\n  },\n})\n```\n\n### `commit` & `dispatch`\n\nSpies. Dependent on the testing framework\n\n- [jest.fn](https://jestjs.io/docs/en/jest-object#jestfnimplementation)\n- [sinon.spy](https://sinonjs.org/releases/v6.3.4/spies)\n\n## Related\n\n- [vue-test-utils](https://github.com/vuejs/vue-test-utils)\n- [vuex](https://github.com/vuejs/vuex)\n\n## License\n\n[MIT](http://opensource.org/licenses/MIT)\n","readmeFilename":"README.md"}