samedi 16 avril 2016

How can I check what template was used to render page in nodejs (like in Django assertTemplateUsed)?

I am wondering how can I check in tests what template was used for render particular page ?

Django has assertTemplateUsed(response, 'index.html') function.

How can I do this in NodeJS ?

Many thanks!

Aucun commentaire:

Enregistrer un commentaire