How to use nodeenv - 1 common examples

To help you get started, we’ve selected a few nodeenv 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 thenativeweb / flaschenpost / test / integration / flaschenpostTests.ts View on Github external
setup(async (): Promise => {
      restore = nodeenv({
        LOG_DEBUG_MODULE_FILTER: '',
        LOG_FORMATTER: 'human',
        LOG_LEVEL: 'info'
      });

      flaschenpostInstance = new Flaschenpost();
    });

nodeenv

nodeenv enables tests to control Node.js environment variables.

MIT
Latest version published 2 years ago

Package Health Score

46 / 100
Full package analysis

Popular nodeenv functions