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:
600 bytes
|
Line | |
---|
1 | "use strict";
|
---|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
---|
3 | const assert = require("assert");
|
---|
4 | const node_test_1 = require("node:test");
|
---|
5 | const validate_js_1 = require("../validate.js");
|
---|
6 | const 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.