Guyaume Tremblay
09/13/2024, 1:33 PMactual
in *unitTest
?
My situation is that I have an expect/actual
in an object
which return the user language and I have a test which look for a date (like January 1st
)
My date formater is using this object
and, mokkery can't mock an object. Now, if my computer is not in english but my CI is, my test will fail...
I tried to put an actual in androidUnitTest
but it complain that there is no expect in commonTest
...
Do you think of something else please ?Eugen Martynov
09/17/2024, 10:14 AMEugen Martynov
09/17/2024, 10:15 AMEugen Martynov
09/17/2024, 10:16 AMGuyaume Tremblay
09/17/2024, 11:40 AM