Fixes #55 Add artifact validation which check to ensure it's not a directory

This commit is contained in:
Nick Cipollo
2021-05-24 11:03:30 -04:00
parent 616708020f
commit 15abc13cc4
7 changed files with 198 additions and 12 deletions

View File

@@ -70,7 +70,7 @@ describe.skip('Integration Test', () => {
function artifacts() {
const globber = new FileArtifactGlobber()
const artifactPath = path.join(__dirname, 'Integration.test.ts')
const artifactString = `~/Desktop/test.txt,blarg.tx, ${artifactPath}`
const artifactString = `~/Desktop,~/Desktop/test.txt,blarg.tx, ${artifactPath}`
return globber.globArtifactString(artifactString, "raw", false)
}