source: imaps-frontend/node_modules/uuid/dist/cjs-browser/test/validate.test.js

main
Last change on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 600 bytes
Line 
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3const assert = require("assert");
4const node_test_1 = require("node:test");
5const validate_js_1 = require("../validate.js");
6const test_constants_js_1 = require("./test_constants.js");
7(0, node_test_1.describe)('validate()', () => {
8 (0, node_test_1.default)('TESTS cases', () => {
9 for (const { value, expectedValidate } of test_constants_js_1.TESTS) {
10 assert.strictEqual((0, validate_js_1.default)(value), expectedValidate, `validate(${value}) should be ${expectedValidate}`);
11 }
12 });
13});
Note: See TracBrowser for help on using the repository browser.