Philipp Muens
9ec755cf2a
Adjust Promise usages
2017-05-10 10:27:13 +02:00
Eslam A. Hefnawy
9e53ea68a3
show warning instead of error when there are no hooks
2017-04-21 18:24:35 +07:00
Philipp Muens
96abc61b3c
Add basic tests for loadHooks function
2017-04-11 15:39:03 +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
Eslam A. Hefnawy
bc0eaf23e6
fixed unit tests
2017-04-07 18:30:11 +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
Philipp Muens
59c8c41057
Update local lookup to use service directory
2017-03-29 21:31:52 +02:00
Philipp Muens
80cfb77840
Update serverless-alpha detection
2017-03-29 20:34:00 +02:00
Eslam λ Hefnawy
2d2c2543b9
Merge pull request #3373 from serverless/add-serverless-alpha-autoloading
...
Add serverless-alpha autoloading
2017-03-29 19:02:07 +07:00
Philipp Muens
bc7c5a64d7
Merge master into PR and resolve conflicts
2017-03-23 12:50:31 +01:00
Eslam λ Hefnawy
eeb8b8a68c
Merge pull request #3327 from HyperBrain/support-entrypoints-for-plugins
...
Allow entrypoints to be defined and called by plugins.
2017-03-17 23:59:05 +08:00
Philipp Muens
4ee198c62c
Add serverless-alpha autoloading
2017-03-16 13:06:14 +01:00
Frank Schmid
9ea13b4a37
Added pluginManager tests for spawn functionality.
2017-03-14 00:15:37 +01:00
Nicholas Rakoto
bc9917cffe
Add test for plugins loading relatively to the working directory
2017-02-25 00:19:44 +01:00
Doug Moscrop
4c8e3421f8
add Expose plugin hooks so that I can visualize them with an external plugin
2017-02-08 10:50:55 -05: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
Philipp Muens
2356a8f3f4
Remove unnecessary timeouts in tests
2016-11-16 11:40:39 +01:00
ac360
00ad5626c7
improve code style and tests
2016-11-04 08:13:32 -07:00
ac360
c294ae1d35
add tests to cover empty plugins property
2016-11-04 07:58:27 -07:00
Philipp Muens
25b233137f
Move class tests into classes directory
2016-10-19 08:32:06 +02:00