mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
tests (unit, electron) - set forbidOnly when running on build machine
This commit is contained in:
parent
691da329d6
commit
eb40962288
|
@ -35,7 +35,8 @@
|
|||
|
||||
mocha.setup({
|
||||
ui: 'tdd',
|
||||
timeout: 5000
|
||||
timeout: 5000,
|
||||
forbidOnly: typeof process.env['BUILD_ARTIFACTSTAGINGDIRECTORY'] === 'string' // disallow .only() when running on build machine
|
||||
});
|
||||
require('./renderer');
|
||||
</script>
|
||||
|
|
Loading…
Reference in a new issue