function assert.deepStrictEqual
Jump to headingdeepStrictEqual<T>(actual: unknown,expected: T,message?: string | Error,): asserts actual is T
Tests for deep equality between the actual
and expected
parameters.
"Deep" equality means that the enumerable "own" properties of child objects
are recursively evaluated also by the following rules.
Type Parameters Jump to heading
Parameters Jump to heading
Jump to headingactual: unknown
Jump to headingexpected: T
optional
Jump to headingmessage: string | Error
Return Type Jump to heading
asserts actual is T