Welcome to the Linux Foundation Forum!

Lab 16.2 - Test a Callback-Based API

jsalcedo
jsalcedo Posts: 5
edited November 11 in LFW211 Class Forum

Hi,

I have not been able to make the validate.js assertions test pass, it looks like the example shown in the "NODE.JS APPLICATION DEVELOPMENT (LFW211)" course for the "Writing Unit Test" using the tap library with callbacks is now deprecated. Specifically the "ifError()" and "strictDeepEqual()" assertions. I was able to make my tap test pass, but I can not make the validate.js test pass.

I think that the course needs to be updated as well as the validations in the lab exercises.

Comments

Categories

Upcoming Training