You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We selected lowdb because of it's easy to install footprint and base of json-server.
The configuration for running Jest tests has been adjusted to run them synchronously (via --runInBand) due to failures when the unit test are run concurrently.
To date, the Cypress API tests have not had an issue.
Our primary goals for a database are:
Ensure that we are able to execute real world test case scenarios with zero installation dependencies
Retrieve record immediately after save
Given this information, we may need to look to one of the following solutions (or others) to ensure tests can be run asynchronously.
Use async/await with the existing lowdb Sync Adapter
Please note that if you're developing a local server and don't expect to get concurrent requests, it's often easier to use file-sync storage, which is the default.
But if you need to avoid blocking requests, you can do so by using file-async storage
We selected lowdb because of it's easy to install footprint and base of json-server.
The configuration for running Jest tests has been adjusted to run them synchronously (via
--runInBand
) due to failures when the unit test are run concurrently.To date, the Cypress API tests have not had an issue.
Our primary goals for a database are:
Given this information, we may need to look to one of the following solutions (or others) to ensure tests can be run asynchronously.
The text was updated successfully, but these errors were encountered: