assert: add matchObjectStrict
and matchObject
#57762
Annotations
2 errors
test-linux:
test/parallel/test-assert-objects.js#L285
--- stdout ---
βΆ Object Comparison Tests
β should strictly compare two non identical simple objects (2.818924ms)
β should loosely compare two non identical simple objects (0.277226ms)
::debug::starting to run Object Comparison Tests
::debug::starting to run should strictly compare two non identical simple objects
::debug::completed running should strictly compare two non identical simple objects
::debug::starting to run should loosely compare two non identical simple objects
::debug::completed running should loosely compare two non identical simple objects
::debug::starting to run should strictly compare two identical simple objects
β should strictly compare two identical simple objects (0.319035ms)
β should not strictly compare two different simple objects (1.914368ms)
β should loosely compare two similar objects with type coercion (0.479343ms)
β should strictly compare two objects with different property order (0.345844ms)
::debug::completed running should strictly compare two identical simple objects
::debug::starting to run should not strictly compare two different simple objects
::debug::completed running should not strictly compare two different simple objects
::debug::starting to run should loosely compare two similar objects with type coercion
::debug::completed running should loosely compare two similar objects with type coercion
::debug::starting to run should strictly compare two objects with different property order
::debug::completed running should strictly compare two objects with different property order
::debug::starting to run should strictly compare two objects with nested objects
β should strictly compare two objects with nested objects (0.278359ms)
β should not strictly compare two objects with different nested objects (0.726344ms)
β should loosely compare two objects with nested objects and type coercion (0.356725ms)
β should strictly compare two objects with circular references (0.410776ms)
::debug::completed running should strictly compare two objects with nested objects
::debug::starting to run should not strictly compare two objects with different nested objects
::debug::completed running should not strictly compare two objects with different nested objects
::debug::starting to run should loosely compare two objects with nested objects and type coercion
::debug::completed running should loosely compare two objects with nested objects and type coercion
::debug::starting to run should strictly compare two objects with circular references
::debug::completed running should strictly compare two objects with circular references
::debug::starting to run should strictly compare two objects with different circular references
β should strictly compare two objects with different circular references (0.177ms)
β should loosely compare two objects with circular references (0.148326ms)
β should strictly compare two arrays with identical elements (0.307002ms)
β should not strictly compare two arrays with different elements (0.364339ms)
::debug::completed running should strictly compare two objects with different circular references
::debug::starting to run should loosely compare two objects with circular references
::debug::completed running should loosely compare two objects with circular references
::debug::starting to run should strictly compare two arrays with identical elements
::debug::completed running should strictly compare two arrays with identical elements
::debug::starting to run should not strictly compare two arrays with different elements
::debug::completed running should not strictly compare two arrays with different elements
::debug::starting to run should loosely compare two arrays with type coercion
β should loosely compare two arrays with type coercion (0.104525ms)
β should strictly compare two Date objects with the same time (0.094075ms)
β should not strictly compare two Date objects with different times (0.395918ms)
β should strictly compare two objects with large number of properties (4.81272ms)
::debug::completed running should loosely compare two array
|
test-linux
Process completed with exit code 2.
|