Skip to content
Permalink
Browse files

test(generic): only skip help spec on Windows (#34)

  • Loading branch information
malept committed Dec 18, 2016
1 parent d20387b commit 202987e1f86bc3790e390e210dacaf135eb47d54
Showing with 6 additions and 2 deletions.
  1. +6 −2 test/cli_spec.js
@@ -30,8 +30,12 @@ const pSpawn = async (args = [], opts = {
const installer = process.argv.find(arg => arg.startsWith('--installer=')) || '--installer=system default';

describe(`electron-forge CLI (with installer=${installer.substr(12)})`, () => {
it.skip('should output help', async () => {
expect(await pSpawn(['--help'])).to.contain('Usage: electron-forge [options] [command]');
it('should output help', async function helpSpec() {
if (process.platform === 'win32') {
this.skip();
} else {
expect(await pSpawn(['--help'])).to.contain('Usage: electron-forge [options] [command]');
}
});

let dirID = Date.now();

0 comments on commit 202987e

Please sign in to comment.
You can’t perform that action at this time.