Replies: 1 comment
-
not sure what's happening, something might be breaking check the console. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I use jsstore in my angular app.
I try to set some unit tests that should insert/update/delete in DB (db must not be mocked).
My first unit test only instantiate service :
expect(service).toBeTruthy();
In the service's constructor I run a select to get all items in db.
What I see is that this unit test seems to be ok, but then I get following error :
I've tried to comment the select and only call the db connection and error still happen. Seems that as soon as I get a db connection, ng test will inevitably fails in the end with this error.
Any idea?
Thx
Beta Was this translation helpful? Give feedback.
All reactions