14 Commits

Author SHA1 Message Date
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
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
d39a3e8054 update tests 2017-05-26 16:34:44 -07:00
Philipp Muens
96b135b7e7 Remove slightly misleading error message 2017-03-17 11:11:22 +01:00
Erik Erikson
93c7afb3f5 Resolve PR Comments
1. Improve wording of documentation.  Note the concrete object that will be written in its entirety
2. Expand documentation.  Note a potential security risk for secrets
3. Move, without changes, the `warnIfNotFound` method because it was putting space between `getValueFromSource` and the various source type specific functions it uses
4. Implement unit tests for `warnIfNotFound`
5. Implement unit tests for `logWarning`
2017-02-10 18:31:02 -08:00
Andrey Tserkus
ffd6152de0 cover Error with tests; rename SError export to ServerlessError 2017-01-31 01:50:07 -08:00