mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
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.
20 lines
415 B
JavaScript
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);
|
|
});
|
|
});
|