serverless/lib/plugins/deploy/deploy.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

21 lines
426 B
JavaScript

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