source: imaps-frontend/node_modules/uuid/dist/esm/test/validate.test.js@ 79a0317

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

F4 Finalna Verzija

  • Property mode set to 100644
File size: 425 bytes
Line 
1import * as assert from 'assert';
2import test, { describe } from 'node:test';
3import validate from '../validate.js';
4import { TESTS } from './test_constants.js';
5describe('validate()', () => {
6 test('TESTS cases', () => {
7 for (const { value, expectedValidate } of TESTS) {
8 assert.strictEqual(validate(value), expectedValidate, `validate(${value}) should be ${expectedValidate}`);
9 }
10 });
11});
Note: See TracBrowser for help on using the repository browser.