better-queue-store-test
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"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 @@ }) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14200
284