We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 206cb79 commit 6c6cd23Copy full SHA for 6c6cd23
test/integration/tasks.test.js
@@ -106,12 +106,12 @@ describe("Tasks", function () {
106
expect(res).to.have.status(200);
107
expect(res.body).to.be.a("object");
108
expect(res.body.message).to.equal("Task created successfully!");
109
- expect(res.body.id).to.be.a("string");
+ expect(res.body.task.id).to.be.a("string");
110
expect(res.body.task).to.be.a("object");
111
expect(res.body.task.createdBy).to.equal(appOwner.username);
112
expect(res.body.task.assignee).to.equal(appOwner.username);
113
expect(res.body.task.participants).to.be.a("array");
114
- expect(res.body.dependsOn).to.be.a("array");
+ expect(res.body.task.dependsOn).to.be.a("array");
115
return done();
116
});
117
0 commit comments