
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
fh-forms-lcm
Advanced tools
FeedHenry Cloud API for form submissions.
There are two types of tests: unit tests that don't have any additional dependencies and acceptance tests that require configured MongoDB. Turbo is used as a test runner. It stops test execution if a test fails.
We use make
to run the tests. Specification is stored in the makefile.
make test // run all tests with jshint
make test_unit // run all unit tests
make test_accept // run all acceptance tests
We need to install and configure MongoDb. Installation instructions can be found in MongoDb Docs. On Linux systems it is desirable to install mongodb-org meta package.
Make sure to have mongod up and running: sudo /etc/init.d/mongod start
.
MongoDb can be controlled from mongo shell by typing mongo
.
The last thing that we have to do is to add admin user via mongo shell:
use admin
db.createUser({
user: "admin",
pwd: "admin",
roles: [ { role: "userAdminAnyDatabase", db: "admin" } ]
})
Code coverage reports are generated using istanbul and stored in coverage, cov-unit and cov-accept folders.
make coverage // generates all code coverage reports
Use 'test_unit_cov' or 'test_accept_cov' instead of 'coverage' to generate individual reports.
Source analysis can be generated with plato. Generated reports are available at plato/index.html.
make plato
FAQs
Cloud Forms API for form submission
We found that fh-forms-lcm demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.