kamil-lip / bootstrap-vue-treeview

A treeview component for Bootstrap and Vue.js 2.0+
MIT License
43 stars 30 forks source link

Configuration error in package.json #18

Open goldengecko opened 4 years ago

goldengecko commented 4 years ago

When trying to do testing with this module using Jest, it fails to find the module. After some digging I figured out why:

Package.json:5 has "main": "dist/treeview.js", so Jest is trying to find that file.

It needs to be changed to "main": "dist/bootstrap-vue-treeview.js",

I have verified that this fixes the problem and Jest can find the module as expected.

Would very much appreciate if you could release an update with this fix.