0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-29 23:16:30 +01:00
nodejs/test/fixtures
Zhenzhen Zhan b34a1e1785
module: fix e.stack error when throwing undefined or null
Adds a test for module loading when throwing undefined or null.

PR-URL: https://github.com/nodejs/node/pull/19282
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jan Krems <jan.krems@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
2018-04-10 00:47:12 +02:00
..
0-dns crypto: fix Node_SignFinal 2017-09-11 00:18:02 -03:00
b
clustered-server
cycles
empty
es-module-loaders module: fix e.stack error when throwing undefined or null 2018-04-10 00:47:12 +02:00
es-module-require-cache module: Allow runMain to be ESM 2017-09-07 15:18:32 -05:00
es-module-url module: Allow runMain to be ESM 2017-09-07 15:18:32 -05:00
es-modules module: skip preserveSymlinks for main 2018-04-01 17:32:26 +02:00
GH-7131 lib: include cached modules in module.children 2017-07-24 16:56:31 +02:00
global
internal-modules
json-with-directory-name-module
keys tls: multiple PFX in createSecureContext 2017-09-07 21:48:46 -03:00
module-extension-over-directory module: check file ext before dir as documented 2018-03-11 02:56:56 +01:00
module-load-order
module-require
module-require-depth lib: restructure cjs and esm loaders 2018-03-15 20:50:35 +08:00
module-require-symlink test: do not write fixture in test-require-symlink 2017-09-19 15:42:16 -07:00
nested-index
node_modules
packages src: don't abort when package.json is a directory 2018-02-07 20:49:58 -08:00
repl-folder-extensions/foo.js repl: include folder extensions in autocomplete 2017-08-13 01:03:30 -07:00
require-bin
resolve-paths module: replace default paths in require.resolve() 2017-11-21 11:38:12 -05:00
syntax
test-init-index
test-init-native
test-module-loading-globalpaths
uncaught-exceptions assert: wrap original error in ifError 2018-01-24 13:16:07 +01:00
.empty-hidden-repl-history-file repl: support hidden history file on Windows 2017-04-20 13:18:42 +02:00
.empty-repl-history-file
.node_repl_history
a.js
agent.crt
agent.key
alice.crt
baz.js
catch-stdout-error.js
cert.pem
child_process_should_emit_error.js
child-process-message-and-exit.js
child-process-persistent.js
child-process-spawn-node.js
cluster-preload-test.js test: replace string concatenation with template 2017-11-11 10:48:45 +01:00
cluster-preload.js
create-file.js
crypto-timing-safe-equal-benchmark-func.js
debugger-repeat-last.js
debugger-util-regression-fixture.js
define-global.js
deprecated-userland-class.js
deprecated-userland-function.js
deprecated-userland-subclass.js
deprecated.js
destroy-stdin.js
dherror.pem
doc_inc_1.md
doc_inc_2.md
doc_with_includes.md
doc_with_yaml.md
echo-close-check.js test: add hijackStdout and hijackStderr 2017-06-09 13:57:24 -04:00
echo.js
elipses.txt
empty-with-bom.txt src: fix UB in InternalModuleReadFile() 2017-11-09 12:57:16 +01:00
empty.js
empty.txt
exit.js
exports-function-with-param.js
failcounter.js test: wrap countdown callback in common.mustCall 2018-02-16 18:32:59 +01:00
failmustcall1.js test: add mustCallAtLeast 2017-05-19 15:22:44 -04:00
failmustcall2.js test: add mustCallAtLeast 2017-05-19 15:22:44 -04:00
file-to-read-with-bom.txt
file-to-read-without-bom.txt
fixture.ini
foafssl.crt
foafssl.key
foo
GH-892-request.js
GH-1899-output.js
google_ssl_hello.bin
guess-hash-seed.js test: replace string concatenation with template 2017-11-11 10:33:08 +01:00
inspector-global-function.js test: move inspector tests to parallel/sequential 2017-10-17 19:35:50 -04:00
invalid.json
is-object.js
loop.js src,doc,test: Fix common misspellings 2018-01-16 23:44:27 +01:00
module-loading-error.node
msca.pem
multi-alice.crt
net-fd-passing-receiver.js test: fix spelling in test case comments 2018-01-11 16:49:38 +01:00
no-wrapper.js lib: ensure --check flag works with --require 2018-04-04 17:31:45 -07:00
not-main-module.js
old-repl-history-file-faulty.json repl: fix old history error handling 2017-06-30 19:21:23 +02:00
old-repl-history-file-obj.json repl: fix old history error handling 2017-06-30 19:21:23 +02:00
openssl_fips_disabled.cnf
openssl_fips_enabled.cnf
order_of_end_tags_5873.md
overwrite-config-preload-module.js lib: guard inspector console using process var 2017-11-13 08:26:38 +01:00
parent-process-nonpersistent.js
pass-cert.pem
pass-csr.pem
pass-key.pem
path-resolve.js
path.js
person.jpg
person.jpg.gz
print-10-lines.js test: change string concatenation to template 2017-11-11 10:58:09 +01:00
print-chars-from-buffer.js
print-chars.js
printA.js
printB.js
printC.js
pseudo-multimember-gzip.gz
pseudo-multimember-gzip.z
pss-vectors.json crypto: add sign/verify support for RSASSA-PSS 2017-04-01 13:27:52 +02:00
raw-key.pem
readfile_pipe_test.txt test: update assert messages to show expected and actual values 2018-04-06 23:26:07 -07:00
recvfd.js
registerExt2.test
registerExt.hello.world
registerExt.test
repl-load-multiline.js repl: force editorMode in .load 2017-09-01 10:33:15 -04:00
repl-pretty-stack.js repl: remove internal frames from runtime errors 2017-10-11 14:51:41 -04:00
require-resolve.js module: support custom paths to require.resolve() 2017-10-25 09:14:14 -04:00
sample_document.md
sample.png
semicolon.js
should_exit.js
spawn_closed_stdio.py src: ensure that fd 0-2 are valid on windows 2017-03-20 20:48:14 +01:00
spkac.fail
spkac.pem
spkac.valid
test_bad_rsa_privkey.pem
test_ca.pem
test_cert.pem
test_cert.pfx
test_dsa_params.pem
test_dsa_privkey_encrypted.pem
test_dsa_privkey.pem
test_dsa_pubkey.pem
test_key.pem
test_rsa_privkey_2.pem
test_rsa_privkey_encrypted.pem
test_rsa_privkey.pem
test_rsa_pubkey_2.pem
test_rsa_pubkey.pem
test-error-first-line-offset.js test: replace CRLF by LF in a fixture 2017-07-25 21:50:44 +03:00
test-fs-readfile-error.js Revert "fs: Revert throw on invalid callbacks" 2018-02-26 23:18:12 +00:00
test-fs-stat-sync-overflow.js test: address nits and rename the corresponding fixture 2018-03-08 10:37:29 -06:00
test.wasm test: add basic WebAssembly test 2017-11-15 19:50:54 +01:00
throws_error1.js
throws_error2.js
throws_error3.js
throws_error4.js
throws_error5.js
throws_error6.js
throws_error7.js
throws_error.js
tls-connect.js test: use shorthand properties 2018-01-17 14:33:20 +01:00
tls-session-ticket.txt
url-idna.js url: update IDNA handling 2017-06-06 23:33:56 -07:00
url-searchparams.js querystring: fix up lastPos usage 2017-07-12 12:12:48 +08:00
url-setter-tests-additional.js
url-setter-tests.js url: added url fragment lookup table 2017-12-15 09:26:12 -08:00
url-tests-additional.js
url-tests.js url: added url fragment lookup table 2017-12-15 09:26:12 -08:00
url-toascii.js test: add comments for whatwg-url tests 2017-07-20 16:22:02 -04:00
utf8-bom.js
utf8-bom.json
warnings.js
x1024.txt
x.txt