@zzhang according to our further research, it seems that Jest does not fetch the sources declared at webpack.ProvidePlugin.
In order to continue using webpack.ProvidePlugin and Jest, you need to create a separate Webix provider for it.
Please create the file config/jest/webixProvider.js
with the following line (with the relevant path to Webix):
window.webix = require(__dirname+"/../../src/webix/webix.js");
After that, add your webixProvider into jest.setupFiles
section at package.json
:
"jest": {
...
"setupFiles": [
"react-app-polyfill/jsdom",
"<rootDir>/config/jest/webixProvider.js"
],
If the will persist, please contact us via support@webix.com