How to use the @qawolf/logger.logger.setName function in @qawolf/logger

To help you get started, we’ve selected a few @qawolf/logger 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 qawolf / qawolf / packages / jest-environment / src / RunnerEnvironment.ts View on Github external
constructor(config: Config.ProjectConfig, context: EnvironmentContext) {
    super(config);
    this._testPath = context.testPath!;
    this._testName = path.basename(this._testPath).split(".")[0];

    // set the name of the logger to the test
    logger.setName(this._testName);
  }

@qawolf/logger

qawolf logger (node only)

BSD-3.0
Latest version published 4 years ago

Package Health Score

57 / 100
Full package analysis

Similar packages