Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: add initial test module #42325

Closed
wants to merge 2 commits into from
Closed

test: add initial test module #42325

wants to merge 2 commits into from

Commits on Mar 20, 2022

  1. test: add initial test module

    This commit adds a new 'test' module that exposes an API
    for creating JavaScript tests. As the tests execute, TAP
    output is written to standard output. This commit only supports
    executing individual test files, and does not implement
    command line functionality for a full test runner.
    cjihrig committed Mar 20, 2022
    Configuration menu
    Copy the full SHA
    527eb5c View commit details
    Browse the repository at this point in the history
  2. module,repl: support 'node:'-only core modules

    This commit makes it possible to add new core modules that can
    only be require()'ed and imported when the 'node:' scheme is
    used. The 'test' module is the first such module.
    
    These 'node:'-only modules are not included in the list returned
    by module.builtinModules.
    cjihrig committed Mar 20, 2022
    Configuration menu
    Copy the full SHA
    893995d View commit details
    Browse the repository at this point in the history