Skip to content

Commit fdfc0fc

Browse files
committed
Update template
1 parent 2650056 commit fdfc0fc

File tree

146 files changed

+4032
-55726
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

146 files changed

+4032
-55726
lines changed

coreui/.editorconfig

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

coreui/.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ module.exports = {
1414
parserOptions: {
1515
parser: 'babel-eslint'
1616
}
17-
}
17+
}

coreui/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ node_modules
55

66
/tests/e2e/reports/
77
selenium-debug.log
8+
chromedriver.log
89

910
# local env files
1011
.env.local

coreui/babel.config.js

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,5 @@
11
module.exports = {
22
presets: [
3-
['@vue/app', {
4-
polyfills: [
5-
'es6.array.find',
6-
'es6.array.from',
7-
'es6.symbol'
8-
]
9-
}],
10-
["@babel/preset-env", {
11-
"useBuiltIns": "entry"
12-
}]
3+
['@babel/preset-env']
134
]
145
}

coreui/jest.config.js

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,22 @@ module.exports = {
88
transform: {
99
'^.+\\.vue$': 'vue-jest',
1010
'.+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$': 'jest-transform-stub',
11-
'^.+\\.jsx?$': '<rootDir>/node_modules/babel-jest'
11+
'^.+\\.(js|jsx)?$': '<rootDir>/node_modules/babel-jest'
1212
},
13+
transformIgnorePatterns: ['/node_modules/(?!@coreui/icons)'],
1314
moduleNameMapper: {
1415
'^@/(.*)$': '<rootDir>/src/$1'
1516
},
1617
snapshotSerializers: [
1718
'jest-serializer-vue'
1819
],
19-
testMatch: [
20-
'<rootDir>/(tests/unit/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx))',
21-
'<rootDir>/tests/unit/Dashboard.spec.js'
22-
],
20+
testMatch: ['<rootDir>/tests/unit/**/*.spec.js'],
2321
verbose: true,
24-
testURL: "http://localhost/",
22+
testURL: 'http://localhost/',
2523
collectCoverage: true,
2624
collectCoverageFrom: [
27-
"src/**/*.{js,vue}",
28-
"!**/node_modules/**"
25+
'src/**/*.{js,vue}',
26+
'!**/node_modules/**'
2927
],
30-
coverageReporters: ["html", "text-summary"]
28+
coverageReporters: ['html', 'text-summary']
3129
}

0 commit comments

Comments
 (0)