configuru
Version:
Manage the configuration of your Nodejs application with multiple environments and custom preferences, utilizing Configuru in CI and development as well!
20 lines • 602 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var helpers_1 = require("../lib/helpers");
describe('Helpers', function () {
describe('parseBool', function () {
it.each([
[true, true],
['true', true],
['1', true],
[1, true],
[false, false],
['false', false],
['0', false],
[0, false],
])('%p -> %p', function (input, result) {
expect((0, helpers_1.parseBool)(input)).toBe(result);
});
});
});
//# sourceMappingURL=helpers.test.js.map