0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 07:27:22 +01:00
nodejs/test/es-module
Ruben Bridgewater 7493db21b6
assert: adjust loose assertions
This changes the loose deep equal comparison by using the same logic
as done in the strict deep equal comparison besides comparing
primitives loosely, not comparing symbol properties and not comparing
the prototype.

`assert.deepEqual` is still commenly used and this is likely the
biggest pitfall.

Most changes are only minor and won't have a big impact besides
likely fixing user expectations.

PR-URL: https://github.com/nodejs/node/pull/25008
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
2019-01-27 03:34:25 +01:00
..
es-module.status
test-esm-basic-imports.mjs
test-esm-cjs-main.js test: refactor stdio handling in test-esm-cjs-main 2018-12-27 08:32:15 +01:00
test-esm-cyclic-dynamic-import.mjs
test-esm-double-encoding.mjs
test-esm-dynamic-import.js assert: adjust loose assertions 2019-01-27 03:34:25 +01:00
test-esm-encoded-path-native.js
test-esm-encoded-path.mjs
test-esm-error-cache.js
test-esm-example-loader.js
test-esm-forbidden-globals.mjs
test-esm-import-meta.mjs
test-esm-json.mjs
test-esm-live-binding.mjs
test-esm-loader-dependency.mjs
test-esm-loader-invalid-format.mjs
test-esm-loader-invalid-url.mjs
test-esm-loader-missing-dynamic-instantiate-hook.mjs
test-esm-loader-modulemap.js
test-esm-loader-search.js
test-esm-main-lookup.mjs
test-esm-named-exports.mjs
test-esm-namespace.mjs test: refactor test-esm-namespace.mjs 2018-12-25 20:14:14 -08:00
test-esm-preserve-symlinks-main.js
test-esm-preserve-symlinks-not-found-plain.mjs
test-esm-preserve-symlinks-not-found.mjs
test-esm-preserve-symlinks.js
test-esm-require-cache.mjs
test-esm-resolve-hook.mjs
test-esm-shared-loader-dep.mjs
test-esm-shebang.mjs
test-esm-snapshot.mjs
test-esm-symlink-main.js
test-esm-symlink.js
test-esm-throw-undefined.mjs
testcfg.py