diff --git a/frontend/src/plugins/dashboard-plugin.js b/frontend/src/plugins/dashboard-plugin.js index d0113b631..3d28fceab 100755 --- a/frontend/src/plugins/dashboard-plugin.js +++ b/frontend/src/plugins/dashboard-plugin.js @@ -10,9 +10,6 @@ import { BootstrapVue, IconsPlugin } from 'bootstrap-vue' import '@/assets/scss/argon.scss' import '@/assets/vendor/nucleo/css/nucleo.css' -import VueQrcodeReader from 'vue-qrcode-reader' -import VueQrcode from 'vue-qrcode' - import FlatPickr from 'vue-flatpickr-component' import 'flatpickr/dist/flatpickr.css' @@ -30,8 +27,6 @@ export default { Vue.use(BootstrapVue) Vue.use(IconsPlugin) Vue.use(VueMoment) - Vue.use(VueQrcodeReader) - Vue.use(VueQrcode) Vue.use(FlatPickr) Vue.use(Loading) Vue.use(VueApollo) diff --git a/frontend/src/plugins/dashboard-plugin.test.js b/frontend/src/plugins/dashboard-plugin.test.js index 613bb184f..0c8a754a3 100644 --- a/frontend/src/plugins/dashboard-plugin.test.js +++ b/frontend/src/plugins/dashboard-plugin.test.js @@ -27,7 +27,7 @@ describe('dashboard plugin', () => { }) describe('vue toasted', () => { - const toastedAction = vueUseMock.mock.calls[10][1].action.onClick + const toastedAction = vueUseMock.mock.calls[8][1].action.onClick const goAwayMock = jest.fn() const toastObject = { goAway: goAwayMock,