serverless
Version:
Serverless Framework - Build web, mobile and IoT applications with serverless architectures using AWS Lambda, Azure Functions, Google CloudFunctions & more
20 lines (15 loc) • 411 B
JavaScript
;
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);
});
});