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
Hi team, i am using lform in my app but when running a jest unit test cases I am getting the following error from Scipts
Test suite failed to run
ReferenceError: jQuery is not defined
at K (src/assets/lforms-33.3.3/webcomponent/main.js:15094:28)
at Object.5076 (src/assets/lforms-33.3.3/webcomponent/main.js:15091:90)
at a (src/assets/lforms-33.3.3/webcomponent/runtime.js:5:90)
at Object.7944 (src/assets/lforms-33.3.3/webcomponent/main.js:9899:22)
at a (src/assets/lforms-33.3.3/webcomponent/runtime.js:5:90)
at src/assets/lforms-33.3.3/webcomponent/main.js:16751:21
at n (src/assets/lforms-33.3.3/webcomponent/runtime.js:24:21)
at Object.<anonymous> (src/assets/lforms-33.3.3/webcomponent/main.js:5:59)
lforms' jQuery dependency is included with the scripts.js file. If that is loaded in the page ahead of main.js, it should have what it needs. I don't know a lot about jest configuration, but I see you have jquery listed in "moduleNameMapper", which might confuse things. Maybe try commenting that out?
Hi team, i am using lform in my app but when running a jest unit test cases I am getting the following error from Scipts
Test suite failed to run
here is my jest config file
The text was updated successfully, but these errors were encountered: