diff --git a/.gitignore b/.gitignore index d75fa75..ede4b52 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,5 @@ dist docs/.vuepress/dist build/related *.tgz -package-lock.json \ No newline at end of file +package-lock.json +.trash diff --git a/package.json b/package.json index bf1c8fe..74ee4f7 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "lint:fix": "npm run lint -- --fix", "prepublish": "npm run build", "test": "jest --env=jsdom", - "coverage": "jest --env=jsdom --coverage --collectCoverageFrom=src/**/*.js --coverageReporters=text-lcov | coveralls" + "coverage": "jest --env=jsdom --coverage --coverageReporters=text-lcov | coveralls" }, "main": "dist/vuetify-dialog.umd.js", "module": "dist/vuetify-dialog.esm.js", @@ -87,7 +87,11 @@ ".+\\.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$": "jest-transform-stub", ".*\\.(vue)$": "/node_modules/vue-jest" }, - "transformIgnorePatterns": [] + "transformIgnorePatterns": [], + "collectCoverageFrom": [ + "src/**/*.{js,jsx,vue}", + "!/node_modules/" + ] }, "peerDependencies": { "vue": "*", diff --git a/src/components/Message.vue b/src/components/Message.vue deleted file mode 100644 index 0b5eff9..0000000 --- a/src/components/Message.vue +++ /dev/null @@ -1,67 +0,0 @@ - - - diff --git a/test/notification.spec.js b/test/notification.spec.js index 11ca463..2fccd75 100644 --- a/test/notification.spec.js +++ b/test/notification.spec.js @@ -1,5 +1,5 @@ import Vue from 'vue' -import Vuetify from 'vuetify' +import Vuetify from 'vuetify/lib' import { sleep } from './utils' import VuetifyDialogPlugin from '../src' Vue.use(Vuetify) diff --git a/test/package.spec.js b/test/package.spec.js index f234032..5188cc1 100644 --- a/test/package.spec.js +++ b/test/package.spec.js @@ -1,5 +1,5 @@ import Vue from 'vue' -import Vuetify from 'vuetify' +import Vuetify from 'vuetify/lib' import VuetifyDialogPlugin from '../src' import { sleep, addElemWithDataAppToBody, disableTransitions } from './utils' Vue.use(Vuetify) diff --git a/test/prompt.spec.js b/test/prompt.spec.js index 59abbe9..8f10900 100644 --- a/test/prompt.spec.js +++ b/test/prompt.spec.js @@ -1,8 +1,8 @@ +import Vue from 'vue' +import Vuetify from 'vuetify/lib' import DialogManager from 'vuedl/src/manager' import Prompt from '../src/components/Prompt' import DialogLayout from '../src/components/DialogLayout' -import Vue from 'vue' -import Vuetify from 'vuetify' import { sleep, addElemWithDataAppToBody, disableTransitions } from './utils' Vue.use(Vuetify) const vuetify = new Vuetify()