mirror of
https://github.com/brucificus/vb6-antlr4-typescript.git
synced 2025-12-17 12:24:35 +03:00
7
tests/ScanAndValidateParseTrees.spec.ts
Normal file
7
tests/ScanAndValidateParseTrees.spec.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { File } from './support/infrastructure/File';
|
||||
import scanAndValidateParseTrees from './support/scanAndValidateParseTrees';
|
||||
|
||||
const INPUT_DIRECTORY: File = new File(__dirname, "../proleap-vb6/src/test/resources");
|
||||
const DIRECTORIES_EXCLUDED: File[] = [ new File(INPUT_DIRECTORY.getAbsolutePath(), "io/proleap/vb6/asg") ];
|
||||
|
||||
scanAndValidateParseTrees(INPUT_DIRECTORY, (directory) => Boolean(DIRECTORIES_EXCLUDED.find(d => d.equals(directory))));
|
||||
Reference in New Issue
Block a user