382 Commits

Author SHA1 Message Date
Philipp Muens
a663974271 Fix broken Utils tests 2017-05-24 14:01:07 +02:00
Philipp Muens
a5d81e0a43 Remove commented out code 2017-05-24 13:01:48 +02:00
davidwells
d31057239d remove old dep 2017-05-24 00:34:15 -07:00
davidwells
c8dbd7a4a6 add id 2017-05-24 00:21:29 -07:00
davidwells
f115fc87ab update segment 2017-05-24 00:21:29 -07:00
davidwells
cb6d22e3e0 lint all the things 2017-05-24 00:21:29 -07:00
davidwells
c57cf03a09 clean up segment call 2017-05-24 00:20:39 -07:00
davidwells
e93e976a80 update Utils class with util functions 2017-05-24 00:19:27 -07:00
Eslam λ Hefnawy
953f8ac1a0 Merge pull request #3537 from HyperBrain/use-chai-as-promised
Use chai as promised
2017-05-18 21:29:53 +07:00
Eslam λ Hefnawy
ddb99af627 Merge pull request #3592 from aoskotsky-amplify/master
Add support for S3 variables
2017-05-18 21:28:02 +07:00
Frank Schmid
c24d2ee499 Update UT for lib/classes/YamlParser 2017-05-17 17:13:31 +02:00
Frank Schmid
1e43138295 Update UT for lib/classes/Service 2017-05-17 17:13:30 +02:00
Philipp Muens
23fcc0c13d Merge pull request #3622 from dougmoscrop/custom_resources_array
fix resources as an array to support variables
2017-05-17 10:12:49 +02:00
Doug Moscrop
4dbd94e465 fix resources as an array to support variables 2017-05-16 15:41:00 -04:00
Eslam A. Hefnawy
7503fa0bc5 fixed bug when using dot notation in yml keys 2017-05-15 22:05:04 +07:00
Philipp Muens
18dc9a4d20 Merge pull request #3600 from helenyau0/fix-bug-in-unit-test
Fix unhandled rejection TypeError in unit testing now all tests pass for #logStat()
2017-05-12 11:14:11 +02:00
Eslam A. Hefnawy
971a27994c fixed bug when referencing vars from other vars object values 2017-05-12 13:34:11 +07:00
Helen Yau
eaaee3f89e fix linting error: add a missing comma to the serverless.service object 2017-05-11 10:26:17 -07:00
Alex Oskotsky
2945880e68 Add support for S3 variables 2017-05-10 23:31:43 -04:00
Helen Yau
c989d879e7 Fix unhandled rejection TypeError in unit testing now all tests pass for #logStat() 2017-05-10 17:42:58 -07:00
Philipp Muens
9ec755cf2a Adjust Promise usages 2017-05-10 10:27:13 +02:00
Eslam A. Hefnawy
7c7b2bc849 added more test for cf vars 2017-05-09 19:10:57 +07:00
Eslam A. Hefnawy
f7b26a492c added cross service communication feature via cf variable source 2017-05-09 19:04:30 +07:00
davidwells
816f5fa8da update CI detection 2017-05-05 13:11:55 -07:00
Eslam A. Hefnawy
9b10da6dc8 fixed all unit tests 2017-05-05 00:36:32 +07:00
Eslam A. Hefnawy
bd33c98e7f fixed variables tests 2017-05-03 22:23:25 +07:00
Eslam A. Hefnawy
4810719601 renamed promises 2017-05-03 19:28:16 +07:00
Eslam A. Hefnawy
7cadf28444 supported promises in the variable system 2017-05-02 23:54:09 +07:00
Frank Schmid
4da99861fa Added unit tests 2017-04-26 16:54:50 +02:00
Frank Schmid
0ebee72f65 Allow service object 2017-04-26 15:18:09 +02:00
Eslam A. Hefnawy
9e53ea68a3 show warning instead of error when there are no hooks 2017-04-21 18:24:35 +07:00
Rafał Wiliński
c6d5710cdc Replace Array.filter with Array.find 2017-04-15 10:59:31 +02:00
Rafał Wiliński
bc15494c00 Fix linter errors 2017-04-15 10:55:34 +02:00
Rafał Wiliński
59bd52d520 Merge remote-tracking branch 'serverless/master' 2017-04-15 00:05:55 +02:00
Rafał Wiliński
50cfdf45c9 Fix getAllEventsInFunction & getEventInFunction tests 2017-04-15 00:05:54 +02:00
Rafał Wiliński
77ed53218b Change getAllEventsInFunction implementation to return array 2017-04-15 00:05:21 +02:00
Rafał Wiliński
7bca42f680 Change getEventInFunction implementation to return array element 2017-04-15 00:05:05 +02:00
Philipp Muens
96abc61b3c Add basic tests for loadHooks function 2017-04-11 15:39:03 +02:00
Philipp Muens
df3f02fcff Show hook deprecation warnings only when SLS_DEBUG is set 2017-04-11 14:44:53 +02:00
Frank Schmid
802c236255 UT: PluginManager - validateCommand() 2017-04-08 20:04:56 +02:00
Frank Schmid
bf7c854ac2 Added tests for spawn string syntax 2017-04-08 12:17:02 +02:00
Frank Schmid
bad7990799 Hide entrypoint commands 2017-04-08 11:37:52 +02:00
Eslam A. Hefnawy
bc0eaf23e6 fixed unit tests 2017-04-07 18:30:11 +07:00
Eslam A. Hefnawy
ca809f2940 removed deprecation for alpha plugin 2017-04-06 21:37:00 +07:00
Eslam A. Hefnawy
7da3a1ae35 resovled conflicts on master 2017-04-06 18:28:59 +07:00
Frank Schmid
d9637fc534 Support deprecation with redirects 2017-04-06 18:28:59 +07:00
Eslam A. Hefnawy
e38f22585f seperated packaging and deployment 2017-04-06 18:28:59 +07:00
Philipp Muens
532d89c1f6 Update tests to be side-effect free
Use proxyquire and stubbing to make the tests side-effect free. This way the tests will succeed even when someone who runs the tests has the serverless-alpha plugin installed globally.
2017-03-30 09:57:02 +02:00
Philipp Muens
44db0960ec Fix tests and restructure code to fail silently 2017-03-30 08:55:07 +02:00
Brian Neisler
ad5aa1ea97 Use resolve-from instead of absolute paths. 2017-03-29 13:41:22 -07:00