Join Slack
Powered by
<@U7BB83NPR> You should create a separate scope pe...
# tornadofx
e
edvin
01/18/2018, 8:36 AM
@Carlton Whitehead
You should create a separate scope per test instead of reusing the same scope.
c
Carlton Whitehead
01/18/2018, 11:51 AM
I noticed App.scope is a val so I can't reassign there. Where would you suggest I create a separate scope?
e
edvin
01/18/2018, 12:01 PM
@Carlton Whitehead
Just instantiate it and use it as a parameter to
find
c
Carlton Whitehead
01/18/2018, 12:04 PM
That seems so obvious
Carlton Whitehead
01/18/2018, 12:05 PM
Thanks
e
edvin
01/18/2018, 12:45 PM
Hehe 🙂
3
Views
Open in Slack
Previous
Next