question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Assertion error does not state problematic parts for Maps

See original GitHub issue
chai.expect(new Map([['a','a']])).to.deep.equal(new Map([['a','b']]))
// AssertionError: expected {} to deeply equal {}

As you can see it is not clear why it fails from the error message.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:10 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
pcorpetcommented, Jun 7, 2021

I’ve created a PR, please help me there to understand which changes are OK, and which ones are not

1reaction
flaambecommented, May 28, 2021

I tried to integrate the loup into chai, but unfortunately now I do not have enough time for this

Read more comments on GitHub >

github_iconTop Results From Across the Web

Assertion error does not state problematic parts for Maps #61
Assertion error does not state problematic parts for Maps #61 ... As you can se it is not clear why it fails from...
Read more >
java.lang.AssertionError: Maps do not match for key:country ...
I'm a newbie. I am writing a Junit test using selenium methods. I wrote a successful test for generating random data and entering...
Read more >
Remove layer assertion error - arcpy - GIS Stack Exchange
I am using below code to remove any layer if it has zero features in it. mxd = arcpy.mapping.MapDocument("CURRENT") aDF = mxd.activeDataFrame ...
Read more >
[phenixbb] Assertion Error when using kicked maps in solvent ...
I know sending the data may be problematic for you, but if you could fake it (but make sure the program still crash)...
Read more >
Asserting Expectations - The Debugging Book
When we say "code and state", what do we mean? Actually, assertions can not quickly check several executions of a function, but also...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found