Merge pull request from cwillisf/fix-execute-tests

Fix "execute" integration tests
This commit is contained in:
Christopher Willis-Ford 2023-03-09 15:14:30 -08:00 committed by GitHub
commit ea03db5fec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -58,8 +58,11 @@ const whenThreadsComplete = (t, vm, uri, timeLimit = 5000) =>
const executeDir = path.resolve(__dirname, '../fixtures/execute');
// Find files which end in ".sb", ".sb2", or ".sb3"
const fileFilter = /\.sb[23]?$/i;
fs.readdirSync(executeDir)
.filter(uri => uri.endsWith('.sb2'))
.filter(uri => fileFilter.test(uri))
.forEach(uri => {
test(uri, t => {
// Disable logging during this test.