remove accidental async from test descriptions
This commit is contained in:
1 parent
2fda99dbef
commit
9863aa48e2
1 file changed
+2
-2
@@ -526,7 +526,7 @@ describe("JobQueue", () => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
describe("getJobs", async () => {
|
describe("getJobs", () => {
|
||||||
it("should return jobs", async () => {
|
it("should return jobs", async () => {
|
||||||
const jobQueue = await JobQueue.createJobQueue(
|
const jobQueue = await JobQueue.createJobQueue(
|
||||||
db,
|
db,
|
||||||
@@ -590,7 +590,7 @@ describe("JobQueue", () => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
describe("getJobStats", async () => {
|
describe("getJobStats", () => {
|
||||||
it("should return job stats for no jobs", async () => {
|
it("should return job stats for no jobs", async () => {
|
||||||
const jobStats = await jobQueue.getJobStats();
|
const jobStats = await jobQueue.getJobStats();
|
||||||
expect(jobStats).to.deep.equal({ jobs: [], workers: 5 });
|
expect(jobStats).to.deep.equal({ jobs: [], workers: 5 });
|
||||||
|
|||||||
Reference in new issue
Block a user