UNPKG

@pallad/app-env

Version:

Detects environment (production, staging, test, development, ci) and helps making decision based on that

13 lines (12 loc) 342 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const lib = require("../"); describe('index', () => { for (const key of Object.keys(lib.info)) { it(`exports ${key}`, () => { const has = lib[key] === lib.info[key]; expect(has) .toBe(true); }); } });