Open goldengecko opened 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.
"main": "dist/treeview.js",
It needs to be changed to "main": "dist/bootstrap-vue-treeview.js",
"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.
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.