How to use the @kosko/env.paths function in @kosko/env

To help you get started, we’ve selected a few @kosko/env 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 tommy351 / kosko / packages / cli / src / commands / __tests__ / generate.ts View on Github external
test("should set component path", () => {
      expect(env.paths.component).toEqual(config.paths!.environment!.component);
    });
github tommy351 / kosko / packages / cli / src / commands / __tests__ / generate.ts View on Github external
test("should set global path", () => {
      expect(env.paths.global).toEqual(config.paths!.environment!.global);
    });

@kosko/env

Manage environemnts in kosko.

MIT
Latest version published 14 days ago

Package Health Score

75 / 100
Full package analysis