Welcome to the Linux Foundation Forum!

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

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.

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

Regards,
Dmytro

Comments

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training