How to use the allure-js-commons function in allure-js-commons

To help you get started, we’ve selected a few allure-js-commons examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github zaqqaz / jest-allure / src / setup.ts View on Github external
export function registerAllureReporter() {
    const allure = new Allure();
    const reporter = (global as any).reporter = new Reporter(allure);
    jasmine.getEnv().addReporter(new JasmineAllureReporter(allure));
}