Skip to content

Test suite always reporting Fail #16

Description

@awwright

The test suite is always reporting fail for me. Every single test, except the negative tests, reports either Fail or Error. The problem seems to be that kb.query at https://github.com/rdfa/rdfa.github.io/blob/a356283800723200fa5bf8f70524722b6a8b3a57/javascripts/models/test-model.js seems to be returning an empty array for a match, and undefined for no match.

that.set("result", queryResult); also needs to be called to update the result correctly.

When I edit the code to accept an array as a successful match, the suite works as expected.

Did a dependency update break something, maybe?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions