* call Job.priority() to get the current number priority
* added parameterless definition for Job.priority()
- when called without a priority parameter, it returns the current priority of the job
relevant source https://github.com/Automattic/kue/blob/master/lib/queue/job.js#L520-L536
note: JSDocs in Kue source code appear to not include optional parameters
* priority() returns string if priority set to unexpected priority string
The function look like this
module.exports.enter = function(process) {
processQueue = process || false;
Job.prototype.save = testJobSave;
Job.prototype.update = testJobUpdate;
};