Benny Bauer 9f0c506c75 fix 1468 - display endpoints
Display general information on service, functions and endpoints.
Add tests.

partial fix for #1468 - display endpoints

fix 1468 - display endpoints

Display general information on service, functions and endpoints.
Add tests.
2016-07-29 13:01:15 +02:00

20 lines
415 B
JavaScript

'use strict';
const expect = require('chai').expect;
const Info = require('../info');
const Serverless = require('../../../Serverless');
describe('Info', () => {
let info;
let serverless;
beforeEach(() => {
serverless = new Serverless();
info = new Info(serverless);
});
describe('#constructor()', () => {
it('should have commands', () => expect(info.commands).to.be.not.empty);
});
});