is there a way i can configure my `JS(IR)` target ...
# javascript
a
is there a way i can configure my
JS(IR)
target to have its main configuration target
browser
while it's test configuration target
node
? I need to be able to write my integration tests with
javascript
and I am too tired to creating a whole new
jvm
target just for the purpose of
testing
a web app. Suggestions?
r
You can use mocha with
testTask{ useMocha{ } }
, even if the target is
browser
. I'm not entirely sure what goes on behind the scenes w/ webpack or nodejs libs though.
a
Sure, Let me look into mocha then