mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-06-03 17:14:27 -04:00
Merge pull request #3685 from cwillisf/fix-execute-tests
Fix "execute" integration tests
This commit is contained in:
commit
ea03db5fec
2 changed files with 4 additions and 1 deletions
test
fixtures/execute
integration
Binary file not shown.
|
@ -58,8 +58,11 @@ const whenThreadsComplete = (t, vm, uri, timeLimit = 5000) =>
|
||||||
|
|
||||||
const executeDir = path.resolve(__dirname, '../fixtures/execute');
|
const executeDir = path.resolve(__dirname, '../fixtures/execute');
|
||||||
|
|
||||||
|
// Find files which end in ".sb", ".sb2", or ".sb3"
|
||||||
|
const fileFilter = /\.sb[23]?$/i;
|
||||||
|
|
||||||
fs.readdirSync(executeDir)
|
fs.readdirSync(executeDir)
|
||||||
.filter(uri => uri.endsWith('.sb2'))
|
.filter(uri => fileFilter.test(uri))
|
||||||
.forEach(uri => {
|
.forEach(uri => {
|
||||||
test(uri, t => {
|
test(uri, t => {
|
||||||
// Disable logging during this test.
|
// Disable logging during this test.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue