Amr Salem
Amr Salem

Reputation: 267

Assertions and failures appears with 0

I'm exploring the Frisby tool

I am trying out a simple test (below) and when the test fails the failures count is 0

var frisby = require('frisby');

describe ('Endpoints page', function (){
    it('1- Endpoint main board', function() {
        return frisby.get('https://SDF.DSF')
            .expect('status', 200);
         
    });
    it('2- verify random endpoints working properly', function() {
        return frisby.get('https://DF.DSF')
            .expect('status', 100);
    });
});

Screen Grab

Upvotes: 0

Views: 52

Answers (1)

Amr Salem
Amr Salem

Reputation: 267

Solved by executing the code using jest not jasmine command

Upvotes: 0

Related Questions