github rangav/thunder-client-support v2.11.4

latest releases: v2.15.0, v2.14.1, v2.14.0...
12 months ago

New Features

  • The chai module is now included in the extension, no need to download externally - #1313
  • This is an update to the script assertion feature released in v2.10.0
  • Update CLI to v1.5.2

Example Code

var chai = require("chai");
var expect = chai.expect;
var assert = chai.assert;

function testChaiFilter() {

    tc.test("Response code is 200", function () {
        assert.equal(tc.response.status, 200)
    })

    tc.test("Response code expect to be 200", function () {
        expect(tc.response.status).to.equal(200);
    })
}

module.exports = [testChaiFilter]

Don't miss a new thunder-client-support release

NewReleases is sending notifications on new releases.