tarek
12/06/2020, 11:50 AMwindow.fetch but I get 404sturansky
12/06/2020, 12:56 PMsrc/test/resources for tests only?tarek
12/06/2020, 1:09 PMtest-resources to karma.config.d
config.files.push({
pattern: __dirname + "/kotlin/day*.txt",
watched: false,
included: false,
served: true,
nocache: false
});
config.set({
"proxies": {
"/test/resources/": __dirname + "/kotlin/"
}
});turansky
12/06/2020, 1:17 PMmodules configuration?
You can simply add src/test/kotlin dir in modulestarek
12/06/2020, 1:32 PMjs(IR) and not js(LEGACY) as resource files are not copied there)tarek
12/06/2020, 1:34 PMturansky
12/06/2020, 11:49 PMturansky
12/06/2020, 11:52 PMkarma.config.d/patch.js :
config.resolve.modules.unshift(
// absolute path calculation
"???/src/test/resources"
)