fix(ci): fix linux build
This commit is contained in:
1 parent
c11b881827
commit
e2eed076de
3 files changed
+2
No files matched your search
@@ -11,6 +11,7 @@ const entryFilePath = tempDir.path("testsInit.js");
|
||||
|
||||
const testsImports = testsDir
|
||||
.find({ matching: process.env.TEST ? `${process.env.TEST}.test.js` : "*.test.js" })
|
||||
.filter(test => (process.env.ALL || !test.includes('optional')))
|
||||
.reduce((fileContent, path) => {
|
||||
const normalizedPath = path.replace(/\\/g, "/");
|
||||
return `${fileContent}require("../tests/${normalizedPath}");\n`;
|
||||
|
||||
Reference in new issue
Block a user