starting to split options by type

This commit is contained in:
2020-06-09 13:13:27 +02:00
parent 229b916cd5
commit 3f0b9fad79
20 changed files with 96 additions and 144 deletions

View File

@ -6,7 +6,7 @@
*/
import test from 'ava';
import { PathType } from '../lib/Types/PathType';
import { PathType } from '../lib/TypeValidation/PathType';
test ('no file', async (t) => {
const validator = new PathType ('file');

View File

@ -6,7 +6,7 @@
*/
import test from 'ava';
import { TypeValidation } from '../lib/Types/TypeValidation';
import { TypeValidation } from '../lib/TypeValidation/TypeValidation';
test ('string', async (t) => {
const validator = new TypeValidation ('string');