Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

better-queue-store-test

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

better-queue-store-test - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"name": "better-queue-store-test",
"version": "1.0.1",
"version": "1.0.2",
"description": "Better Queue store test",

@@ -5,0 +5,0 @@ "main": "tester.js",

@@ -43,8 +43,10 @@ var assert = require('assert');

var store = this.store;
store.putTask('test', { value: 'secret' }, 1, function (err) {
if (err) throw err;
store.getTask('test', function (err, task) {
store.connect(function (err, len) {
store.putTask('test', { value: 'secret' }, 1, function (err) {
if (err) throw err;
assert.equal(task.value, 'secret', 'should get the task');
done();
store.getTask('test', function (err, task) {
if (err) throw err;
assert.equal(task.value, 'secret', 'should get the task');
done();
})
})

@@ -51,0 +53,0 @@ })

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc