UNPKG

@kilterset/auth0-actions-testing

Version:

Test and develop Auth0 Actions or Okta CIC Actions locally.

15 lines 430 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.tzIdentifier = void 0; /** * Returns an IANA time zone identifier (e.g. "Pacific/Auckland"). */ const tzIdentifier = (chance) => { let values = []; while (!values.length) { values = chance.timezone().utc; } return chance.pickone(values); }; exports.tzIdentifier = tzIdentifier; //# sourceMappingURL=tz-identifier.js.map