Welcome to the Linux Foundation Forum!

Chapter 16. WRITING UNIT TESTS: tap: strictDeepEqual and ifError are absent

Options

Hi,

It seems that course is to be updated. Current tap version is 18.5.0 and there are no such checkers as strictDeepEqual and ifError. The samples work in tap 16.3.9, but anyway these checkers are deprecated.

test/req.test.js 2> (node:13800) DeprecationWarning: strictDeepEqual() is deprecated, use strictSame() instead
test/req.test.js 2> (node:13800) DeprecationWarning: ifError() is deprecated, use error() instead

Regards,
Dmytro

Comments

Categories

Upcoming Training