diff --git a/jest.config.js b/jest.config.js index 35f80e05..d70a026c 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,19 +1,19 @@ module.exports = { - 'moduleNameMapper': { + moduleNameMapper: { '^vue$': 'vue/dist/vue.common.js' }, - 'moduleFileExtensions': [ + moduleFileExtensions: [ 'js', 'vue' ], - 'testMatch': ['/src/**/?(*.)+(spec|test).(ts|tsx|mjs|js|jsx)'], - 'transform': { + testMatch: ['/src/**/?(*.)+(spec|test).(ts|tsx|mjs|js|jsx)'], + transform: { '^.+\\.js$': '/node_modules/babel-jest', '.*\\.(vue)$': '/node_modules/jest-vue-preprocessor' }, - 'collectCoverage': true, - 'coverageDirectory': './coverage/', - 'collectCoverageFrom': [ + collectCoverage: true, + coverageDirectory: './coverage/', + collectCoverageFrom: [ '**/src/atoms/*/*.vue', '!**/atoms/transition-expand/*.vue', '**/src/molecules/*/*.vue', diff --git a/src/atoms/button/Button.html b/src/atoms/button/Button.html index 2b465c01..4ad0e11c 100644 --- a/src/atoms/button/Button.html +++ b/src/atoms/button/Button.html @@ -1,6 +1,5 @@