This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
admin-panel/graphql-types/node_modules/is-lower-case/dist.es2015/index.spec.js

21 lines
618 B
JavaScript

import { isLowerCase } from ".";
var TEST_CASES = [
["", false],
["test", true],
["TEST", false],
["Test", false],
["123", false],
["snake_case", true],
];
describe("is lower case", function () {
var _loop_1 = function (input, result) {
it(input + " -> " + result, function () {
expect(isLowerCase(input)).toEqual(result);
});
};
for (var _i = 0, TEST_CASES_1 = TEST_CASES; _i < TEST_CASES_1.length; _i++) {
var _a = TEST_CASES_1[_i], input = _a[0], result = _a[1];
_loop_1(input, result);
}
});
//# sourceMappingURL=index.spec.js.map