build: run es-module tests in CI · nodejs/node@7dd0ca4 · GitHub
Skip to content

Commit 7dd0ca4

Browse files
Benjamin CoeMylesBorins
authored andcommitted
build: run es-module tests in CI
Add es-module to CI_JS_SUITES/js_test_suites, so that tests run in CI. Update test/README adding es-module section. PR-URL: #15276 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
1 parent 9c1e48d commit 7dd0ca4

4 files changed

Lines changed: 8 additions & 11 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion

test/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@ On how to run tests in this directory, see
1212

1313
|Directory |Runs on CI |Purpose |
1414
|-------------------|---------------|---------------|
15-
|abort |No |Tests for when the ``` --abort-on-uncaught-exception ``` flag is used.|
15+
|abort |Yes |Tests for when the ``` --abort-on-uncaught-exception ``` flag is used.|
1616
|addons |Yes |Tests for [addon](https://nodejs.org/api/addons.html) functionality along with some tests that require an addon to function properly.|
1717
|cctest |Yes |C++ test that is run as part of the build process.|
1818
|common | |Common modules shared among many tests. [Documentation](./common/README.md)|
19+
|es-module |Yes |Test ESM module loading.|
1920
|fixtures | |Test fixtures used in various tests throughout the test suite.|
2021
|gc |No |Tests for garbage collection related functionality.|
2122
|inspector |Yes |Tests for the V8 inspector integration.|
@@ -29,3 +30,7 @@ On how to run tests in this directory, see
2930
|testpy | |Test configuration utility used by various test suites.|
3031
|tick-processor |No |Tests for the V8 tick processor integration. The tests are for the logic in ```lib/internal/v8_prof_processor.js``` and ```lib/internal/v8_prof_polyfill.js```. The tests confirm that the profile processor packages the correct set of scripts from V8 and introduces the correct platform specific logic.|
3132
|timers |No |Tests for [timing utilities](https://nodejs.org/api/timers.html) (```setTimeout``` and ```setInterval```).|
33+
34+
_When a new test directory is added, make sure to update the `CI_JS_SUITES`
35+
variable in the `Makefile` and the `js_test_suites` variable in
36+
`vcbuild.bat`._

test/es-module/test-esm-pkg-over-ext.mjs

Lines changed: 0 additions & 8 deletions
This file was deleted.

vcbuild.bat

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)