kick
Version:
Kickstarter and generator for AngularJS based on ES6, webpack and best practices
20 lines (13 loc) • 527 B
JavaScript
;
const TestHelpers = require('../support/helpers');
const fs = require('fs-extra');
const child_process = require('child_process');
const kick = 'node ' + __dirname + '/../../bin/kick ';
describe('$ kick test', () => {
beforeAll(TestHelpers.createApp);
afterAll(TestHelpers.cleanup);
it('should not run without packages', () => {
const output = child_process.execSync(kick + 'test').toString();
expect(output).toMatch("Can't start server with missing packages")
});
});