Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
better-queue-store-test
Advanced tools
This repository is a complement to better-queue. This is useful for ensuring that the store you create is compatible with better-queue
, and that guarantees that features in better-queue
will work properly.
Install this package as a dev dependency and add a mocha test:
npm install --save-dev better-queue-store-test
In your mocha test directory, add a test like so:
var test = require('better-queue-store-test');
test.basic('My Store Test', {
create: function (cb) {
// Prepare your store here ...
cb(null, myStore);
},
destroy: function (cb) {
// Optionally, you can clean up after your store
cb();
}
})
Look at better-queue-memory, which is used in better-queue
for an example of how you should create your store and setup the test.
Are welcome!
This library was initially made by the awesome team of engineers at Diamond.
If you haven't already, make sure you install Diamond!
FAQs
Better Queue store test
We found that better-queue-store-test 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.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.