-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests seem to fail randomly? #22
Comments
Great idea! I think moving all of the express code to a separate file sounds great. Those tests are something I've been meaning to address. I'm aware of the intermittent failures. Go ahead and code what you're planning on coding and I'll ignore failures from those two tests when I review your PR. |
Also, I have a test like below. the
This is where it gets really strange: if I use With
With
This might be an issue with the test setup or something as well. It seems really strange, and I have no idea where to look to find the solution to this. (PS: I have only created tests, not the feature yet. The tests should fail when the You can see the setup here: |
Alright! I will move the express code once I figured out how to get my own tests working. |
Thanks! I haven't given much love to those tests recently. |
Concerning your tests and the strange behavior you're seeing, I've encountered that sort of thing too. I wouldn't be surprised if my tests are setup poorly and this is a result. If you come up with a clean solution, let me know and I'll be happy to update all the tests. I had a good bit of trouble getting tests with nested calls, and especially nested calls with timeouts as with background refresh, passing consistently. |
forceUpdate doesn't seem to be working randomly for me too |
Please help me understand. Are you saying the tests fail intermittently, or are you saying the forceUpdate feature is not working? |
Hey, I am working on the forceUpdate tests and running into some isses. Two of the tests already written seem to fail at random. Sometimes they work, and sometimes they don't.
These are the errors I am getting:
Are you experiencing this too? Or did I set up something wrong?
Also - do you think it's a better idea to move the express stuff in the tests into a seperate file? Right now it is the same in all files (and has to be, unless you shut down the server in each test it keeps running if you do
npm test
).The text was updated successfully, but these errors were encountered: