electron-installer-fixture-windows
A fixture Electron app for testing tooling on Windows.
Installation
npm install --save-dev electron-installer-fixture-windows
Usage
var path = require('path');
var fs = require('fs');
var assert = require('assert');
var app = {
path: require('electron-installer-fixture-windows')
};
describe('electron-installer-squirrel-windows', function(){
it('should have a package.json', function(done){
var pkg = path.join(app.path, 'resources', 'app', 'package.json');
fs.exists(pkg, function(exists){
assert(exists);
done();
});
});
});
License
Apache 2.0