Skip to content

Conversation

wojtekmaj
Copy link
Contributor

@wojtekmaj wojtekmaj commented Aug 8, 2025

According to deep-equal's own docs:

Node's assert.deepEqual() algorithm as a standalone module, that also works in browser environments.

Since the tests are running in Node.js only, we don't need an external dependency, but you may not like it - as assert.deepStrictEqual compares prototypes, I had to strip them by writing an util to do so.

@wojtekmaj wojtekmaj marked this pull request as draft August 8, 2025 22:12
@wojtekmaj wojtekmaj marked this pull request as ready for review August 10, 2025 20:30
@coveralls
Copy link

coveralls commented Aug 10, 2025

Coverage Status

coverage: 98.485%. remained the same
when pulling 787c544 on wojtekmaj:deep-equal
into b6e4b1f on expressjs:main.

According to deep-equal's own docs:

> Node's assert.deepEqual() algorithm as a standalone module, that also works in browser environments.

Since the tests are running in Node.js only, we don't need an external dependency.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants