function assert.deepStrictEqual
deepStrictEqual<T>(actual: unknown,expected: T,message?: string | Error,): asserts actual is T
Deprecated
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.
asserts actual is T