test: handle undefined default_configuration
This PR adds a check for process.config.target_defaults
being undefined, as it is Electron's case, and ensures that the buildType
is set to a default value of Release
should it not be defined.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines