You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Great use of supertest to test routes, well done. One baffling issue though - isn't TAP supposed to give you green ticks?... Where are they? Another supertest tip - console.log .text, use something like expect(response.text.includes('button')). This way you can test for specific html tags. Some examples from my past project can be seen at
Great use of supertest to test routes, well done. One baffling issue though - isn't TAP supposed to give you green ticks?... Where are they? Another supertest tip - console.log .text, use something like expect(response.text.includes('button')). This way you can test for specific html tags. Some examples from my past project can be seen at
https://github.com/fac-13/LVKI.blogger/blob/master/src/tests/routes.test.js
The text was updated successfully, but these errors were encountered: