Replies: 1 comment
-
Putting something in For example, you can load your JS files then with something like gwt-core's ScriptInjector, with the added step of looking up the base directory (where both your compiled and copied .js files live). Effectively, this is just creating a new Assuming your .js file is loaded as a script in a browser (rather than a module in a browser, or something in node.js/etc), you could use |
Beta Was this translation helpful? Give feedback.
-
For example, I have some JavaScript libraries such as
jquery-3.4.1.min.js
andgoogle-protobuf.js
that need to be available when running J2CL tests in ChromeDriver. How can tell J2clMaven about these files while running unit tests?I've tried placing them in
src/main/resources/public/
where they get copied to the test output directory, but the test's html, js, and bundle files don't reference them.Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions