10 Commits

Author SHA1 Message Date
Mariusz Nowak
4944f471b1
Prettify 2019-06-26 12:43:01 +02:00
Tan Zhen Yong
177a0ad07a Add error message when provider does not exist 2019-03-28 02:01:33 +08:00
Shane Handley
860fd938a0 Test coverage of the flag to check for serverless config befre executing a command which requires a config to exist. 2018-09-15 14:32:34 +10:00
Frank Schmid
1303702388 Allow deploy command with function argument
* Added function option documentation
* Added unit test for lifecycle termination
* Extended before:deploy:deploy unit tests
* Added debug logging for command invokes/spawns and terminations.
* Deploy with a function parameter starts deploy:function and terminates the deploy lifecycle.
* Spawn allows to exit the current lifecycle and continue with the parent
2017-09-01 15:30:37 +02:00
Philipp Muens
6e807fa1bf Update code to be run on "deploy" and "package" 2017-06-13 08:39:01 +02:00
Frank Schmid
939112a639 Use sinon-chai to improve Sinon based unit tests 2017-05-17 17:13:33 +02:00
Frank Schmid
64142c8c94 Fix possible race in package/deploy UT 2017-05-17 17:13:32 +02:00
Frank Schmid
a7d519579e Update UT for lib/plugins/deploy/deploy 2017-05-17 17:13:31 +02:00
Frank Schmid
c74d9c6dda Fixed unit tests and got coverage to 100% again 2017-04-20 14:30:55 +02:00
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