fix(core): update

This commit is contained in:
2022-07-08 11:55:25 +02:00
commit 326448ace9
14 changed files with 11637 additions and 0 deletions

15
test/test.both.ts Normal file
View File

@@ -0,0 +1,15 @@
import { expect, expectAsync, tap } from '@pushrocks/tapbundle';
import * as smartvalidator from '../ts/index.js';
let testValidator: smartvalidator.SmartValidator;
tap.test('first test', async () => {
testValidator = new smartvalidator.SmartValidator();
expect(testValidator).toBeInstanceOf(smartvalidator.SmartValidator);
});
tap.test('should check an IBAN', async () => {
expect(testValidator.isIban('AT95 0100 0000 0555 4915')).toBeTrue();
})
tap.start();