Skip to content

Commit

Permalink
#356 test
Browse files Browse the repository at this point in the history
  • Loading branch information
cdimascio committed Aug 27, 2020
1 parent 98ad9d8 commit 7a28d51
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions test/issue.tests/356.campaign.spec.ts
Expand Up @@ -30,16 +30,14 @@ describe(packageJson.name, () => {
app.server.close();
});

it('create campaign should return 201', async () => {
console.log(`campaign`);
return request(app)
it('create campaign should return 201', async () => request(app)
.post(`/campaign`)
.send({
name: 'test',
description: 'description',
startDate: '2020-08-25T20:37:33.117Z',
endDate: '2020-08-25T20:37:33.117Z',
})
.expect(201);
});
.expect(201)
);
});

0 comments on commit 7a28d51

Please sign in to comment.