serverless/lib/plugins/info/info.test.js
Philipp Muens 8aad2372eb Refactor test structure
So that all tests follow the *.test.js pattern and globs are used to find test files.
2016-11-22 12:49:26 +01:00

20 lines
411 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);
});
});