entropic-dev / entropic

🦝 :package: a package registry for anything, but mostly javascript 🦝 🦝 🦝
https://discourse.entropic.dev/
Apache License 2.0
5.29k stars 151 forks source link

fix(tests): add stub tests for refactored services #302

Open smikes opened 5 years ago

smikes commented 5 years ago

Adds stub tests for boltzmann, registry, web, workers Adds devDependency on mocha where absent Note: this adds devDependencies, do those need to be broken out into separate PRs per Dependency updates, additions, or removals must be in individual commits ; or does that only apply to non-dev dependencies

Change Type (Feature, Chore, Bug Fix, One Pager, etc.)

Fix

Description

Make tests run for most subservices. Storage tests look like they need to be run in a container, so I didn't touch them.

How to test

npm t

in root directory will now only fail for the services/storage subdir

Checklist

Tested with node v12.4.0