electron-installer-fixture-windows
A fixture Electron app for testing tooling on Windows.
Last updated 5 years ago by imlucas .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install electron-installer-fixture-windows 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.0.3                                ...           latest (5 years ago)

3 Versions

  • 0.0.3                                ...           5 years ago
  • 0.0.2                                ...           5 years ago
  • 0.0.1                                ...           5 years ago

Copyright 2014 - 2016 © taobao.org |