make unit tests faster (#241847)

This commit is contained in:
João Moreno
2025-02-25 15:18:20 +01:00
committed by GitHub
parent 649a74e7d8
commit ae43cc72b6
6 changed files with 340 additions and 248 deletions

View File

@@ -32,12 +32,6 @@
e.stopPropagation();
}
});
mocha.setup({
ui: 'tdd',
timeout: typeof process.env['BUILD_ARTIFACTSTAGINGDIRECTORY'] === 'string' ? 30000 : 5000,
forbidOnly: typeof process.env['BUILD_ARTIFACTSTAGINGDIRECTORY'] === 'string' // disallow .only() when running on build machine
});
</script>
<script>
const urlParams = new URLSearchParams(window.location.search);