Skip to content

tests: use schemas to validate messages #14

@chadrik

Description

@chadrik

The tests validate two aspects of messages sent from the runtime: their structure and their values. We should replace all the structural tests with validation against the schema files. This looks to be the most popular json-schema validator for node: https://www.npmjs.com/package/jsonschema

Requires #13

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions