### Version 4.0.2 ### Reproduction link [github.com](https://github.com/hamidyfine/vuex-issue) ### Steps to reproduce - Create Vue-CLI project including `vuex` and `Unit Test` - Run the test command: `pnpm run test:unit` ### What is expected? Running the test task without warning. ### What is actually happening? There is `DeprecationWarning` before running the test task. <!-- generated by vue-issues. DO NOT REMOVE -->