fix: do not register the node ESM loader in renderer processes (#24301)

This commit is contained in:
Samuel Attard
2020-07-16 08:09:07 -07:00
committed by GitHub
parent e4180b3a3a
commit d8be385d4b
5 changed files with 32 additions and 5 deletions

View File

@@ -73,9 +73,6 @@ steps:
sudo gdk-pixbuf-query-loaders --update-cache
cd src
export ELECTRON_OUT_DIR=Default
unset ELECTRON_DISABLE_SANDBOX
sudo chown root out/Default/chrome-sandbox
sudo chmod 4755 out/Default/chrome-sandbox
(cd electron && node script/yarn test -- --enable-logging)
displayName: 'Run Electron tests'
timeoutInMinutes: 20