Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-7431

File.spec.109 causes Jasmine2 to start failing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      The translation of file.spec.109 from mobile-spec with Jasmine 1 to in-plugin-tests with Jasmine 2 produced a situation in which the done function could be called twice inside of a single test.

      This appears to put Jasmine in some kind of internally-inconsistent state, an many subsequent tests fail (it appears to be all tests using custom matchers). This behaviour was noticed on iOS, ant not on other platforms, but may affect other platforms differently.

      Marked as critical because we can't continue testing iOS without this being resolved.

      Attachments

        Activity

          People

            iclelland Ian Clelland
            iclelland Ian Clelland
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: