UNPKG

jest-electron

Version:

Easiest way to run jest unit test cases in electron.

11 lines (10 loc) 342 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.uuid = void 0; exports.uuid = function () { return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) { var r = Math.random() * 16 | 0; var v = c === 'x' ? r : (r & 0x3 | 0x8); return v.toString(16); }); };