Delete all enqueued instances of a task, both in all the normal queues and all of the delayed queues
Use the specHelper to find enqueued instances of a task This will return an array of instances of the task which have been enqueued either in the normal queues or delayed queues If a task is enqueued in a delayed queue, it will have a 'timestamp' property i.e. [ { class: 'regularTask', queue: 'testQueue', args: [ [Object] ] } ]
Mock a specHelper connection requesting a file from the server.
Run an action via the specHelper server.
Use the specHelper to run a task. Note: this will run a full Task worker, and will also include any middleware. This is slower than api.specHelper.runTask.
Use the specHelper to run a task.
Note: this only runs the task's run() method, and no middleware. This is faster than api.specHelper.runFullTask.
Generated using TypeDoc
Generate a connection to use in your tests