serverless/lib/plugins/remove/remove.test.js
2020-06-16 10:59:59 +02:00

26 lines
577 B
JavaScript

'use strict';
const chai = require('chai');
const Remove = require('./remove');
const Serverless = require('../../Serverless');
const expect = chai.expect;
describe('Remove', () => {
let remove;
let serverless;
beforeEach(() => {
serverless = new Serverless();
remove = new Remove(serverless);
});
describe('#constructor()', () => {
it('should have access to the serverless instance', () => {
expect(remove.serverless).to.deep.equal(serverless);
});
it('should have commands', () => expect(remove.commands).to.be.not.empty);
});
});