Skip to content

Commit 4175e4e

Browse files
committed
fix #95 can not deepcopy set
1 parent c80fda5 commit 4175e4e

File tree

7 files changed

+210
-208
lines changed

7 files changed

+210
-208
lines changed

jest.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
module.exports = {
22
preset: '@vue/cli-plugin-unit-jest',
3+
collectCoverageFrom: [
4+
'src/index.js'
5+
]
36
};

lib/index.js

Lines changed: 0 additions & 93 deletions
This file was deleted.

lib/util.js

Lines changed: 0 additions & 67 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vuex-extensions",
3-
"version": "1.1.5",
3+
"version": "1.2.1",
44
"description": "Add Reset and Mixins function to Vuex",
55
"main": "lib/index.js",
66
"types": "types/index.d.ts",

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { deepCopy } from './util'
1+
const deepCopy = require('./util')({circles: true})
22

33
const createStore = (vuexStoreClass, options = {}) => {
44
const mixins = options.mixins || {}

0 commit comments

Comments
 (0)