0
andmattia created
I start to write my test class and I reference my module by adding a dependency on test module.
So I have this issue in my module on PostInitialize() I need to call Database and I user
var a = AsyncHelper.RunSync(() => p.GetByIdAsync(1));
But when test start it fails on this row...
I'm very new to test (xunit) any suggestion?
So is possibile to test Angular service class in the same way? mat
1 Answer(s)
-
0
Hi,
Can you share the exception message and stack trace. I don't think it's about AsyncHelper since it's very stable.