mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
test: skip "handles Promise timeouts correctly" when ELECTRON_RUN_AS_NODE is disabled (#23415)
This commit is contained in:
@@ -308,7 +308,7 @@ describe('node feature', () => {
|
||||
expect(result.status).to.equal(0);
|
||||
});
|
||||
|
||||
it('handles Promise timeouts correctly', (done) => {
|
||||
ifit(features.isRunAsNodeEnabled())('handles Promise timeouts correctly', (done) => {
|
||||
const scriptPath = path.join(fixtures, 'module', 'node-promise-timer.js');
|
||||
const child = childProcess.spawn(process.execPath, [scriptPath], {
|
||||
env: { ELECTRON_RUN_AS_NODE: 'true' }
|
||||
|
||||
Reference in New Issue
Block a user