Skip to content

Commit 87e783e

Browse files
authored
Merge pull request #116 from coreui/fix-jest-localstorage
fix(jest): localStorage not avail 4 opaque origins
2 parents 2c7e859 + cec3710 commit 87e783e

File tree

3 files changed

+19
-8
lines changed

3 files changed

+19
-8
lines changed

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
## [vue](./README.md) version `changelog`
22

3+
##### `v2.0.0-beta.13`
4+
- fix(jest.config.js): solves - _SecurityError: localStorage is not available for opaque origins_
5+
- chore: update `bootstrap` to `4.1.3`
6+
- chore: update `@vue/cli-plugin-babel` to `3.0.0-rc.7`
7+
- chore: update `@vue/cli-plugin-e2e-nightwatch` to `3.0.0-rc.7`
8+
- chore: update `@vue/cli-plugin-eslint` to `3.0.0-rc.7`
9+
- chore: update `@vue/cli-plugin-unit-jest` to `3.0.0-rc.7`
10+
- chore: update `@vue/cli-service` to `3.0.0-rc.7`
11+
312
##### `v2.0.0-beta.7`
413
- refactor(Footer): move default footer to the template
514
- fix(Footer): IE sticky footer issue

jest.config.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,7 @@ module.exports = {
1919
testMatch: [
2020
'<rootDir>/(tests/unit/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx))',
2121
'<rootDir>/tests/unit/Dashboard.spec.js'
22-
]
22+
],
23+
verbose: true,
24+
testURL: "http://localhost/"
2325
}

package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@coreui/coreui-free-vue-admin-template",
3-
"version": "2.0.0-beta.7",
3+
"version": "2.0.0-beta.13",
44
"description": "Open Source Bootstrap Admin Template",
55
"author": "Łukasz Holeczek",
66
"homepage": "http://coreui.io",
@@ -18,7 +18,7 @@
1818
"@coreui/coreui-plugin-chartjs-custom-tooltips": "^1.2.0",
1919
"@coreui/icons": "0.2.0",
2020
"@coreui/vue": "^2.0.0-rc.3",
21-
"bootstrap": "^4.1.2",
21+
"bootstrap": "^4.1.3",
2222
"bootstrap-vue": "^2.0.0-rc.11",
2323
"chart.js": "^2.7.2",
2424
"core-js": "^2.5.7",
@@ -33,11 +33,11 @@
3333
"vue-router": "^3.0.1"
3434
},
3535
"devDependencies": {
36-
"@vue/cli-plugin-babel": "^3.0.0-rc.5",
37-
"@vue/cli-plugin-e2e-nightwatch": "^3.0.0-rc.5",
38-
"@vue/cli-plugin-eslint": "^3.0.0-rc.5",
39-
"@vue/cli-plugin-unit-jest": "^3.0.0-rc.5",
40-
"@vue/cli-service": "^3.0.0-rc.5",
36+
"@vue/cli-plugin-babel": "^3.0.0-rc.7",
37+
"@vue/cli-plugin-e2e-nightwatch": "^3.0.0-rc.7",
38+
"@vue/cli-plugin-eslint": "^3.0.0-rc.7",
39+
"@vue/cli-plugin-unit-jest": "^3.0.0-rc.7",
40+
"@vue/cli-service": "^3.0.0-rc.7",
4141
"@vue/test-utils": "^1.0.0-beta.21",
4242
"babel-core": "^7.0.0-bridge.0",
4343
"babel-jest": "^23.4.0",

0 commit comments

Comments
 (0)