0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/es-module
Ruben Bridgewater c6b6c92185
lib: always show ERR_INVALID_ARG_TYPE received part
This makes a effort to make sure all of these errors will actually
also show the received input.
On top of that it refactors a few tests for better maintainability.
It will also change the returned type to always be a simple typeof
instead of special handling null.

PR-URL: https://github.com/nodejs/node/pull/19445
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
2018-03-25 01:45:37 +01:00
..
es-module.status test: update es-module.status prefix 2017-10-01 16:10:17 -07:00
test-esm-basic-imports.mjs test: move ESM fixtures to fixtures dir 2018-03-21 20:08:30 +01:00
test-esm-cyclic-dynamic-import.mjs module: fix cyclical dynamic import 2018-03-05 12:17:51 -06:00
test-esm-double-encoding.mjs test: move ESM fixtures to fixtures dir 2018-03-21 20:08:30 +01:00
test-esm-dynamic-import.js test: move ESM fixtures to fixtures dir 2018-03-21 20:08:30 +01:00
test-esm-encoded-path-native.js test: replace fixturesDir with fixtures module 2017-10-16 23:50:09 +08:00
test-esm-encoded-path.mjs test: move ESM fixtures to fixtures dir 2018-03-21 20:08:30 +01:00
test-esm-example-loader.js test: move ESM fixtures to fixtures dir 2018-03-21 20:08:30 +01:00
test-esm-forbidden-globals.mjs test: move ESM fixtures to fixtures dir 2018-03-21 20:08:30 +01:00
test-esm-import-meta.mjs src,lib: implement import.meta 2018-02-01 13:46:56 +01:00
test-esm-json.mjs test: move ESM fixtures to fixtures dir 2018-03-21 20:08:30 +01:00
test-esm-loader-dependency.mjs test: move ESM fixtures to fixtures dir 2018-03-21 20:08:30 +01:00
test-esm-loader-modulemap.js lib: always show ERR_INVALID_ARG_TYPE received part 2018-03-25 01:45:37 +01:00
test-esm-loader-search.js lib: restructure cjs and esm loaders 2018-03-15 20:50:35 +08:00
test-esm-main-lookup.mjs test: move ESM fixtures to fixtures dir 2018-03-21 20:08:30 +01:00
test-esm-named-exports.mjs test: move ESM fixtures to fixtures dir 2018-03-21 20:08:30 +01:00
test-esm-namespace.mjs test: move ESM fixtures to fixtures dir 2018-03-21 20:08:30 +01:00
test-esm-preserve-symlinks-not-found-plain.mjs lint: move eslint to new plugin system 2018-02-20 13:13:22 -06:00
test-esm-preserve-symlinks-not-found.mjs lint: move eslint to new plugin system 2018-02-20 13:13:22 -06:00
test-esm-preserve-symlinks.js test: move ESM fixtures to fixtures dir 2018-03-21 20:08:30 +01:00
test-esm-require-cache.mjs
test-esm-resolve-hook.mjs test: move ESM fixtures to fixtures dir 2018-03-21 20:08:30 +01:00
test-esm-shared-loader-dep.mjs test: move ESM fixtures to fixtures dir 2018-03-21 20:08:30 +01:00
test-esm-shebang.mjs test: move ESM fixtures to fixtures dir 2018-03-21 20:08:30 +01:00
test-esm-snapshot.mjs test: move ESM fixtures to fixtures dir 2018-03-21 20:08:30 +01:00
test-esm-symlink.js test: specify 'dir' for directory symlinks 2018-03-01 15:47:29 -08:00
testcfg.py