Doug Moscrop
4490af73c0
fix Tests not passing on Windows
2016-09-26 09:14:54 -04:00
Florian Motlik
953dbfbb1d
Merge pull request #2101 from serverless/update-tracking-functionality
...
Update tracking functionality
2016-09-22 14:35:04 +02:00
kengos
eaaeade956
remove unnecessary requires and method
2016-09-22 11:41:26 +09:00
kengos
cb74b3b1bb
add filename option to YAML.load
2016-09-21 22:36:13 +09:00
Philipp Muens
ccba217d5b
Add test for writeFileDir() method
2016-09-20 10:03:57 +02:00
Philipp Muens
3bb149f1db
Add some mock data to the serverless.service object in the track() tests
...
So that parts of the data retrieval are run.
2016-09-20 09:08:47 +02:00
Philipp Muens
b69027b686
Add tests for tracking functionality which check the existence of the trackingId
2016-09-20 09:08:47 +02:00
Philipp Muens
e425e55d48
Add getTmpFilePath method and update tests
2016-08-23 19:36:31 +02:00
Philipp Muens
5fedf6a4f9
Add getTmpDir util method and refactor tests
2016-08-23 13:51:16 +02:00
Nick Chisiu
16aa6581ab
fix #1854 - update npm devDependencies packages ( #1879 )
...
* fix #1854 - added latest version of eslint-config-airbnb-base package
* fix #1854 - added latest npm shrinkwrap scheme
* fix #1854 - added latest npm coveralls package
* fix #1854 - added latest npm eslint package
* fix #1854 - added latest npm eslint-config-airbnb package
* fix #1854 - added latest npm eslint-plugin-import package
* fix #1854 - added latest npm eslint-plugin-jsx-a11y package
* fix #1854 - added latest npm eslint-plugin-react package
* fix #1854 - fixed estlint new-parens errors for integration test
* fix #1854 - fixed estlint new-parens errors for yaml parsers tests
* fix #1854 - fixed estlint max-len errors for util tests
* fix #1854 - disabled no-extraneous-dependencies on eslintrc for NodeJS 4 incapability on this feature
* fix #1854 - fixed eslint new-parens errors for Service tests
* fix #1854 - fixed eslint new-parens errors for Serverless tests
* fix #1854 - fixed eslint new-parens errors for plugin manager tests
* fix #1854 - fixed eslint new-parens errors for plugin tracking tests
* fix #1854 - fixed eslint new-parens errors for plugin package zipService lib
* fix #1854 - fixed eslint new-parens errors for plugin package zipService tests
* fix #1854 - fixed eslint trailing spaces errors for plugin package zipService lib
* fix #1854 - fixed eslint new-parens errors for plugin package cleanup tests
* fix #1854 - fixed eslint new-parens errors for plugin create tests
* fix #1854 - fixed eslint dot same line expectation error on plugin aws logs index
* fix #1854 - fixed eslint operator assignment error on plugin aws logs index
* fix #1854 - fixed eslint dot location error on plugin aws invoke tests
* fix #1854 - fixed eslint new-parens error on plugin aws invoke tests
* fix #1854 - fixed eslint new-parens error on plugin aws deployFunction tests
* fix #1854 - fixed eslint new-parens error on plugin aws deploy uploadDeploymentPackage tests
* fix #1854 - fixed eslint new-parens error on plugin aws deploy updateStack tests
* fix #1854 - fixed eslint new-parens error on plugin aws deploy createStack tests
* fix #1854 - fixed eslint new-parens error on plugin aws deploy apiGateway lib deployment
* fix #1854 - fixed eslint unary typeof whitespace req error on Serverless Service class
* fix #1854 - fixed eslint unary typeof whitespace req error on Serverless Service class ( second fix )
* fix #1854 - fixed eslint no-lonely-if req error on Serverless Service class
* fix #1854 - disabled react/require-extension on eslintrc because it's deprecated
* fix #1854 - AwsCompileApigEvents #constructor() should resolve if no functions are given:
Error: Resolution method is overspecified. Specify a callback *or* return a Promise; not both.
* fix #1854 - createStack #postCreate() should resolve:
Error: Resolution method is overspecified. Specify a callback *or* return a Promise; not both.
* fix #1854 - emptyS3Bucket #deleteObjects() should resolve if objectsInBucket is empty:
Error: Resolution method is overspecified. Specify a callback *or* return a Promise; not both.
* fix #1854 - AwsInvoke #extendedValidate() should resolve if path is not given:
Error: Resolution method is overspecified. Specify a callback *or* return a Promise; not both.
* fix #1854 - #cleanup() should resolve if the .serverless directory is not present:
Error: Resolution method is overspecified. Specify a callback *or* return a Promise; not both.
* fix #1854 -#validate() should resolve if servicePath is given:
Error: Resolution method is overspecified. Specify a callback *or* return a Promise; not both.
* fix #1854 - Service #load() should resolve if no servicePath is found:
Error: Resolution method is overspecified. Specify a callback *or* return a Promise; not both.
* fix #1854 - added latest mocha package
* fix #1854 - added latest sinon npm package
* fix #1854 - serverless/lib/plugins/aws/deploy/tests/createStack.js 136:48 error Missing semicolon semi
* fix #1854 - serverless/lib/plugins/package/tests/cleanup.js 35:7 error Missing semicolon semi
* fix #1854 - serverless/lib/plugins/package/tests/validate.js 22:49 error Missing semicolon semi
* fix #1854 - added latest npm shrinkwrap
* fix #1854 - fixed no-extra-boolean-cast eslint error on aws deploy apiGateway methods
* fix #1854 - fixed new-parens eslint error on serverless tests for Service class
2016-08-18 11:51:09 +02:00
Philipp Muens
cf89dd6ffe
Add test for Service and Utils classe which check for both extensions (.yml and .yaml)
2016-07-27 16:00:22 +02:00
Philipp Muens
c9d1453d3a
Switch from .yaml to the more convenient .yml
2016-07-27 10:39:41 +02:00
Eslam A. Hefnawy
35c1aca092
added test for copyDirContentsSync method
2016-07-13 02:45:57 +09:00
Philipp Muens
8c2d48ae7f
Fix tests for walkDirSync method
...
Fix tests as the order of added filePaths is not guaranteed.
2016-06-01 09:41:05 +02:00
Philipp Muens
474c7f150c
Add "magic handler" zipping support
...
Add zipping of handler directories. Add a walkDirSync method which collects all the
file paths in a directory (needed for the .zip file creation for "magic handlers") in a synchronous way.
2016-05-31 17:13:05 +02:00
Philipp Muens
39d30b3ca0
Add automatic servicePath detection functionality
...
The service directory will be automatically detected if the users CWD is a valid
Serverless service directory.
2016-05-26 14:34:56 +02:00
Eslam A. Hefnawy
de86121170
refactor: removed instances keyword and replaces this.S to this.serverless
2016-05-24 11:33:36 +02:00
Eslam A. Hefnawy
abbc1fa6fd
removed the nested/duplicated tests folder
2016-05-20 13:48:03 +02:00