phantomas icon indicating copy to clipboard operation
phantomas copied to clipboard

Offenders not tested in integration tests

Open gmetais opened this issue 2 years ago • 0 comments

Cześć there!

You recently changed the following line from deepStrictEqual to notStrictEqual. As a result, whatever is set in the expected offenders is considered valid.

https://github.com/macbre/phantomas/blob/1c22c62105bd373806389b463c85956ece9f4349/test/integration.test.js#L127

That's handy, but you probably wanted to use deepEqual instead?

gmetais avatar Aug 13 '23 01:08 gmetais