fix(build): modernize package tooling and test setup for current git.zone build ecosystem
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { expect, expectAsync, tap } from '@pushrocks/tapbundle';
|
||||
import { expect, tap } from '@git.zone/tstest/tapbundle';
|
||||
import * as smartvalidator from '../ts/index.js';
|
||||
|
||||
let testValidator: smartvalidator.SmartValidator;
|
||||
@@ -10,7 +10,7 @@ tap.test('first test', async () => {
|
||||
|
||||
tap.test('should check for being a URL', async () => {
|
||||
expect(testValidator.isUrl('lossless.com')).toBeTrue();
|
||||
})
|
||||
});
|
||||
|
||||
tap.test('should check an IBAN', async () => {
|
||||
expect(testValidator.isIban('AT95 0100 0000 0555 4915')).toBeTrue();
|
||||
@@ -21,4 +21,4 @@ tap.test('escape email', async () => {
|
||||
console.log(escapedEmail);
|
||||
});
|
||||
|
||||
tap.start();
|
||||
export default tap.start();
|
||||
Reference in New Issue
Block a user