Skip to content

[doc][readme] Does commonjs-assert aim to be an assert module as per CommonJS UT spec? #27

@mk-pmb

Description

@mk-pmb

As I found in #26 , the current Readme isn't clear about the intent of this module:

The API is derived from the commonjs 1.0

Well, "derived" is a weak term indeed,

Could you therefor extend that readme statement to clarify whether commonjs-assert aims to be an assert module according to the CommonJS Unit Testing 1.0 spec?

The module name (Edit: nope, just the repo name and package description) and line 45 of assert.js hint at "yes". Hints at "no" include the other issue's discussion and, more importantly, the code comment for rule 7.3 about RegExps. I can't find any mention of RegExp in the CJS spec.

If "no", to de-confuse about the module name, please add a hint that another spec was used (and if you know which, which), and that results can thus be incompatible with the CJS UT spec.

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