mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-06-02 18:41:37 +03:00
13 lines
392 B
JavaScript
13 lines
392 B
JavaScript
"use strict";
|
|
|
|
/**
|
|
* Perform common actions before each test case, e.g. printing the test case
|
|
* name to stdout.
|
|
* @param {TestCase} testCase The test case that is about to be run.
|
|
*/
|
|
module.exports.beforeEach = function(testCase) {
|
|
var desc = testCase.suite.description + " : " + testCase.description;
|
|
console.log(desc);
|
|
console.log(new Array(1 + desc.length).join("="));
|
|
};
|