I have a util file that I need to access called util.js from karate-config.js and would like it available for both modules to use.
util.js
module1
-- src
--- test
--- java
---- karate-config.js
module2
-- src
--- test
--- java
---- karate-config.js
I have tried karate.call('classpath:util.js') which results in a FileNotFoundException. I have tried an absolute path and it does not work.
Any other suggested approaches I could try ?