mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2026-01-18 23:59:41 -06:00
remove accidental async from test descriptions
This commit is contained in:
@@ -648,7 +648,7 @@ describe("JobQueue", () => {
|
||||
});
|
||||
});
|
||||
|
||||
describe("addJob", async () => {
|
||||
describe("addJob", () => {
|
||||
it("should add a job to the queue", async () => {
|
||||
jobQueue.addJob("test", { url: "test" });
|
||||
expect(jobQueue.queue.jobs.length).to.equal(1);
|
||||
@@ -681,7 +681,7 @@ describe("JobQueue", () => {
|
||||
}
|
||||
});
|
||||
});
|
||||
describe("deleteJob", async () => {
|
||||
describe("deleteJob", () => {
|
||||
it("should delete a job from the queue", async () => {
|
||||
jobQueue.getWorkerStats = sinon.stub().returns({ load: 1, jobs: [{}] });
|
||||
jobQueue.scaleWorkers = sinon.stub();
|
||||
|
||||
Reference in New Issue
Block a user