mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
Spotinst - fixing spacing issues in creare.test.js
This commit is contained in:
parent
b6027faf2e
commit
a0f7babc6e
@ -462,19 +462,6 @@ describe('Create', () => {
|
||||
});
|
||||
});
|
||||
|
||||
it('should generate scaffolding for "spotinst-ruby" template', () => {
|
||||
process.chdir(tmpDir);
|
||||
create.options.template = 'spotinst-ruby';
|
||||
|
||||
return create.create().then(() => {
|
||||
const dirContent = fs.readdirSync(tmpDir);
|
||||
expect(dirContent).to.include('package.json');
|
||||
expect(dirContent).to.include('serverless.yml');
|
||||
expect(dirContent).to.include('handler.rb');
|
||||
expect(dirContent).to.include('.gitignore');
|
||||
});
|
||||
});
|
||||
|
||||
it('should generate scaffolding for "webtasks-nodejs" template', () => {
|
||||
process.chdir(tmpDir);
|
||||
create.options.template = 'webtasks-nodejs';
|
||||
@ -620,4 +607,4 @@ describe('Create', () => {
|
||||
expect(() => create.create()).to.throw(Error);
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
Loading…
x
Reference in New Issue
Block a user