vue-demi
vue-demi copied to clipboard
Issue with Karma and Chromium headless test, install is not a function
Reproduction: https://github.com/victorgarciaesgi/vue-chart-3
Run yarn test
Before upgrading the my dependencies, my tests were working great. Now I get an error like this every time

Uncaught TypeError: (0 , vue_demi_1.install) is not a function
The source code is only looking like this
import {install} from "vue-demi"
install()
Was testing out the alias solution you commented a while ago but it didn't work. Seems to come from cjs files and karma-typescript conflict I don't know :(
Temporary fix for now is switching back to version 0.10.1 of vue-demi and version 1.0.4 of @vue/composition-api