20 Commits

Author SHA1 Message Date
Mariusz Nowak
0ddfec479d
Update up to sinon upgrade 2019-06-03 13:37:57 +02:00
Philipp Muens
773e9af3c1 Thorough integration testing 2019-05-30 15:20:58 +02:00
Paul O'Fallon
0957134cbb Lint fixes 2019-04-03 19:55:02 -04:00
Paul O'Fallon
cf7838be20 Add additional Capability when Transform is detected 2019-04-03 19:31:54 -04:00
Austen Collins
6e316cca61
remove platform code 2019-01-11 17:51:15 -08:00
Philipp Muens
b59aa9c275 Add support for backend state item generation and multi-region support 2018-09-17 16:31:12 +02:00
Takahiro Horike
ab163b1fe6
Merge pull request #3999 from rmax-contrib/aws-notification-arns
Add notificationArns AWS parameter to enable Cloudformation notifications
2018-03-02 07:37:17 +09:00
Kobi Meirson
d7eea2005e Restricting alexaSkill functions to specific Alexa skills (#4701)
* - Adding support for restricting the executing alexa skill by id (serverless/serverless#4700)
- Adding support for multiple `alexaSkill` events on a single function (allows multiple Alexa Skills on a single lambda)

* Adding a comment on the `serverless.cli` addition when testing.

* Updating templates to have the right `alexaSkill` syntax

* Cleaning up Travis-CI's occasional errors with sinon stubs going wild (hopefully)
(https://travis-ci.org/serverless/serverless/jobs/335361582 / https://travis-ci.org/serverless/serverless/jobs/335706593 / https://travis-ci.org/serverless/serverless/jobs/335682396)

* one last test case to make sure the alexaSkill file will be fully covered.

* PR notes

* naming - Add a default suffix for alexaSkillLogicalId if undefined

* Revert changes to createStack.test.js (#c967c8d956b3d96afbaefa7fbe3e6eb498ecdd7c)

* createStack.test - reject with an Error, not with a promise that resolves to an error.
2018-02-02 15:18:00 +01:00
Alex Casalboni
bb2ddc0eec Fixed S3 Transfer Acceleration bug with custom deployment buckets (#4606)
* fixed s3 transfer acceleration bug with custom deployment buckets

* added test (custom deployment bucket case)

* unwrapping stubs (node 5.11 fail)

* increased coverage

* add return to BbPromise
2017-12-28 11:12:45 +01:00
Alex Casalboni
5c5f893e69 Added tests (increased coverage) 2017-10-28 01:51:42 +02:00
Alex DeBrie
57a83302a1 Consolidate multiple beforeEach methods in test 2017-10-24 14:52:07 +00:00
horike37
ebcde3b683 update createStack test with using sinon sandbox 2017-10-18 01:03:44 +09:00
Rolando (Max) Espinoza
1b6b7a5871 Add notificationArns tests. 2017-09-17 16:56:47 -03:00
Eslam A. Hefnawy
bc0eaf23e6 fixed unit tests 2017-04-07 18:30:11 +07:00
Eslam A. Hefnawy
9631fa9c95 fixed some tests in package plugin 2017-04-06 18:28:59 +07:00
Philipp Muens
bd2b8d3679 Update recently added tests 2017-03-23 12:40:49 +01:00
Philipp Muens
8d348da0ce Merge master into PR 2017-03-23 12:29:07 +01:00
Doug Moscrop
1012c351b7 add sinon-bluebird to make promises in tests a bit cleaner 2017-02-08 12:59:18 -05:00
Yoriki Yamaguchi
49ada0530b add RoleARN support to createStack call 2017-01-25 19:25:40 +09: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