This page contains a list of common questions that new contributors might have when getting started, and hopefully provides useful answers.
This list is a work in progress, please feel free to add anything that new contributors might find useful.
Table of Contents |
---|
Do I need to configure a local database for testing?
...
There are mutiple tools in the dock
LogMonitor
The default monitor for Redux DevTools with a tree view.
It shows a log of states and actions, and lets you change their history.
It shows a log of states and actions, and lets you change their history.
This is wrapped in DockMonitor to create the sidebar.
toggleVisibilityKey="ctrl-h"
changePositionKey="ctrl-w"
defaultSize="0.2"
Getting "E11000 duplicate key" errors with MongoDB
...
Code Block |
---|
npm test `**/OpDetail*.spec` > @voluntarily/vly2@1.0.0 test /Users/watkinsav/workspace/voluntarily/vly2 > cross-env NODE_ENV=test PORT=8080 node_modules/.bin/nyc node --no-deprecation node_modules/ava/cli.js "components/Op/__tests__/OpDetail.spec.js" "components/Op/__tests__/OpDetailForm.spec.js" "components/Op/__tests__/OpDetailTagsEditable.spec.js" |
Test cases using mongodb memory database timed-out without completing in Ubuntu 18.04 LTS
After a package update in 18.04. some ava tests were timed out and displyed a messafge like below.
Code Block |
---|
✖ Timed out while running tests
20 tests were pending in /home/hari/github_repo/voluntarily/backup/vly2/server/api/activity/tests/activity.spec.js |
The issue was that default mongod library has some issues. So I have to remove it and installed the mongodb community version.
To remove mogodb follow these steps
sudo apt remove mongodb
sudo apt purge mongodb
sudo apt-get autoremove