You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 26, 2018. It is now read-only.
//in MyComponent.vue<script>
import Dependency from 'some-dep';
console.log(Dependency); //shows original non-mocked version
export default {data(){return{msg: 'Hello world!'}}}</script>
//in test fileconstSomeDep=jasmine.createSpyObj('SomeDep',['someMethod']);testObj=proxyquire('MyComponent.vue',{'some-dep': SomeDep});console.log(testObj)//shows component
Now in the test. the component itself seems to load just fine but with the actual dependencies. Maybe proxyquireify is not compatible with vueify? Would appreciate some guidance.