Skip to content

Test suite always reporting Fail #16

@awwright

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?

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