Answer the question
In order to leave comments, you need to log in
What is suite(name, callback) function in node.js?
I'm studying Ethan Brown's book - Web Development with Node & Express. So there in tests this function suite () is used. And then with the help of Mocha tests are launched.
var assert = require('chai').assert;
suite('tests', function () {
// set of tests
});
Answer the question
In order to leave comments, you need to log in
This is probably a function of mocha, but google it like mocha suite
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question