413 Commits

Author SHA1 Message Date
Philipp Muens
0e90a6ba2c Fix logStat() tests 2017-06-01 09:35:04 +02:00
Philipp Muens
3a42f7be49 Remove tests where stubbing props is required 2017-05-30 13:59:40 +02:00
Philipp Muens
756b66a744 Move stubbing of "installed" property to individual test level 2017-05-30 13:51:25 +02:00
Philipp Muens
7af0a37842 Fix typo in comment 2017-05-30 13:28:56 +02:00
Philipp Muens
59e7e57e76 Extend tests to use sinon sandbox and stub process.exit 2017-05-30 13:27:54 +02:00
Philipp Muens
791ca8c139 Disable one line of linting for console.log restoring 2017-05-30 12:40:00 +02:00
Philipp Muens
98cb492a6d Remove unnecessary eslint disabling 2017-05-30 12:23:18 +02:00
Philipp Muens
0d844849f2 Refactor error tests to spy on console 2017-05-30 12:22:10 +02:00
davidwells
a9768ce68e update linting 2017-05-29 09:00:16 -07:00
Philipp Muens
cf8df8f6c4 Refactor test to remove sinon stubbing 2017-05-29 10:27:30 +02:00
Philipp Muens
73c2669661 Fix re-throw error test 2017-05-29 09:38:36 +02:00
davidwells
3d24ed05c7 add note 2017-05-26 17:01:48 -07:00
davidwells
49bb502def clean up logic 2017-05-26 17:00:52 -07:00
davidwells
acb9ff7e88 update test 2017-05-26 17:00:41 -07:00
davidwells
b1e12661e0 remove old tests 2017-05-26 17:00:31 -07:00
davidwells
dd6bd18df8 remove config require 2017-05-26 16:35:34 -07:00
davidwells
f841739416 check if sentry installed before calling 2017-05-26 16:35:14 -07:00
davidwells
d39a3e8054 update tests 2017-05-26 16:34:44 -07:00
davidwells
3f1b375c1f update log message 2017-05-26 16:18:10 -07:00
davidwells
37334c493c update error tracking 2017-05-26 16:17:59 -07:00
davidwells
a356ae83fa clean up Utils 2017-05-25 20:46:31 -07:00
davidwells
32bd714d43 update sentry 2017-05-25 17:17:20 -07:00
davidwells
ec45c075f8 fix lint 2017-05-25 13:58:31 -07:00
davidwells
3d5f2565bc update linting 2017-05-25 13:58:31 -07:00
davidwells
ffa6235112 manually call raven on error 2017-05-25 13:58:31 -07:00
davidwells
921e599bd1 add sentry error tracking 2017-05-25 13:54:18 -07:00
Philipp Muens
253fe3e8e5 Merge pull request #3647 from HyperBrain/support-json-project
Added support for serverless.json. Improved error messages with filename
2017-05-25 11:58:53 +02:00
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
Philipp Muens
e6f2c2d3aa Update other relevant parts of the codebase 2017-05-19 15:08:35 +02:00
Frank Schmid
97399773a7 Added file load tests for YAML, YML and JSON. Added precedence test. 2017-05-19 11:41:24 +02:00
Frank Schmid
45a2b20467 Fixed unit tests - removed filename from literal error check 2017-05-18 21:47:15 +02:00
Frank Schmid
a227e5b3d2 Added support for serverless.json. Improved error messages with filename. 2017-05-18 21:26:44 +02: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