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

10 lines
252 B
JavaScript

var test = 'test'; // eslint-disable-line no-var,@typescript-eslint/no-unused-vars
const types = {
require: typeof require,
electron: typeof electron,
window: typeof window,
localVar: typeof window.test
};
console.log(JSON.stringify(types));