Skip to content

Commit

Permalink
Update demo.js
Browse files Browse the repository at this point in the history
  • Loading branch information
razvanvancea authored Mar 21, 2023
1 parent 8d618f8 commit bb1e383
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pactumjs-mochawesome/demo.js
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@
const { spec } = require('pactum');

describe('Users test suite', ()=>{


it('should get random users1', async () => {
await spec()
.get('https://randomuser.me/api');
});


it('should get random users2', async () => {
await spec()
.get('https://randomuser.me/api');
});


it('should get random users- fails', async () => {
await spec()
.get('https://randomuser.me/api').expectStatus(500);
Expand Down

0 comments on commit bb1e383

Please sign in to comment.