断言和失败以0出现

Assertions and failures appears with 0

我正在探索 Frisby 工具

我正在尝试一个简单的测试(如下),当测试失败时失败计数为 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);
    });
});

通过使用 jest not jasmine 命令执行代码解决