Giter Club home page Giter Club logo

Comments (3)

JamesMessinger avatar JamesMessinger commented on July 17, 2024 1

@carl-parrish - I've merged your PR and released Postman BDD v5.0.0 with Chai 4.0.2. I solved the backward-compatibility problem by adding version-specific subfolders under the dist folder (e.g. dist/v3, dist/v4, dist/v5)

from postman-bdd.

carl-parrish avatar carl-parrish commented on July 17, 2024

I just attempted to build it myself with Chai 4.0.2 I only got one failed test.

✖ should not throw
    -------------------
      operator: throws
      expected: |-
        undefined
      actual: |-
        { actual: '35', expected: undefined, message: 'expected \'35\' to be a number', showDiff: false }
      at: Test.test (/Users/cparrish/Desktop/Sandbox/postman-bdd/test/specs/response/body.spec.js:55:5)




  Failed Tests: There was 1 failure

    XML response body

      ✖ should not throw


  total:     951
  passing:   950
  failing:   1
  duration:  539ms

from postman-bdd.

JamesMessinger avatar JamesMessinger commented on July 17, 2024

Chai.js 4.0 just released last week, and it includes many breaking changes, so I haven't had a chance to figure out a clean upgrade path for Postman BDD. I can't just update the Chai dependency, because that will break many people's existing tests that use Postman BDD. So I need to think about the best way to expose a backward-compatible Chai 3.x version of Postman BDD and a new Chai 4.x version as well.

In the meantime, you should be able to use the existing version of Postman BDD, as long as you aren't relying on any of the new or changed functionality in Chai 4.0.

from postman-bdd.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.