electron/spec/fixtures/module/preload-required-module.js

13 lines
273 B
JavaScript
Raw Permalink Normal View History

try {
2018-05-14 16:00:49 -06:00
const types = {
process: typeof process,
setImmediate: typeof setImmediate,
global: typeof global,
Buffer: typeof Buffer,
'global.Buffer': typeof global.Buffer
2020-03-20 14:28:31 -06:00
};
console.log(JSON.stringify(types));
} catch (e) {
2020-03-20 14:28:31 -06:00
console.log(e.message);
}