kick
Version:
Kickstarter and generator for AngularJS based on ES6, webpack and best practices
24 lines (16 loc) • 644 B
JavaScript
;
const path = require('path');
require('app-module-path').addPath(path.resolve(__dirname, '..', '..'));
const TestHelpers = require('../support/helpers');
const child_process = require('child_process');
const kick = 'node ' + __dirname + '/../../bin/kick ';
describe('$ kick about', () => {
beforeAll(TestHelpers.createApp);
afterAll(TestHelpers.cleanup);
it('should output information about application', () => {
const output = child_process.execSync(kick + 'about').toString();
expect(output).toMatch("NpmTest");
expect(output).toMatch("1.0.0");
expect(output).toMatch("1.5.3");
});
});