idlize
1import { collectFiles, copy, directoriesManager } from "../utils"
2
3const specificationDir = directoriesManager.getOrDownloadSpecificationTestsDir()
4const copyDir = directoriesManager.testsDir
5const tests = collectFiles(specificationDir)
6const copied = copy(specificationDir, copyDir, tests, true, true, true, true)
7console.log(`${copied.length} new test files`)
8
9const pagesFrom = directoriesManager.getOrDownloadSpecificationPagesDir()
10const pagesTo = directoriesManager.testPagesDir
11const pages = collectFiles(pagesFrom)
12const copiedPages = copy(pagesFrom, pagesTo, pages, false, false, true, true)
13console.log(`${copiedPages.length} new test dependencies files`)