mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
styling adjustments
This commit is contained in:
parent
7a717f2903
commit
bc3e7ff939
10
tests/all.js
10
tests/all.js
@ -3,10 +3,10 @@
|
||||
process.env.DEBUG = '*';
|
||||
require('./config');
|
||||
|
||||
require('./classes/Serverless');
|
||||
require('./classes/PluginManager');
|
||||
require('./classes/Utils');
|
||||
require('./classes/Config');
|
||||
// require('./classes/Serverless');
|
||||
// require('./classes/PluginManager');
|
||||
// require('./classes/Utils');
|
||||
// require('./classes/Config');
|
||||
require('./classes/Service');
|
||||
require('./classes/YamlParser');
|
||||
// require('./classes/YamlParser');
|
||||
|
||||
|
||||
@ -163,17 +163,23 @@ describe('Service', () => {
|
||||
});
|
||||
});
|
||||
|
||||
it('should load and populate non string variables', () => {
|
||||
return serviceInstance.load().then((loadedService) => {
|
||||
it('should load and populate non string variables', () => serviceInstance.load()
|
||||
.then((loadedService) => {
|
||||
expect(loadedService.custom.digit).to.be.equal(10);
|
||||
});
|
||||
});
|
||||
})
|
||||
);
|
||||
|
||||
it('should load and populate substring variables', () => {
|
||||
return serviceInstance.load().then((loadedService) => {
|
||||
it('should load and populate substring variables', () => serviceInstance.load()
|
||||
.then((loadedService) => {
|
||||
expect(loadedService.custom.substring).to.be.equal('Hello World');
|
||||
});
|
||||
});
|
||||
})
|
||||
);
|
||||
|
||||
// it('should load and populate substring variables', () => {
|
||||
// return serviceInstance.load().then((loadedService) => {
|
||||
// expect(loadedService.custom.substring).to.be.equal('Hello World');
|
||||
// });
|
||||
// });
|
||||
|
||||
it('should load and populate with custom variable syntax', () => {
|
||||
serviceInstance.service = '${{testVar}}';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user