Alexey Kotlyarov
d5dc0cbf4b
Do not explicitly color messages in white
...
On white background terminals, white text is unreadable. Use the default
terminal color instead.
Fixes #4673
2018-01-29 19:33:35 +11:00
Erik Erikson
ca5ba8daac
Remove unused parameters in platform.js (and deal with consequences)
...
Add explicit use of options where they were defined.
2017-12-12 11:59:08 -08:00
Frank Schmid
81c896bc12
Removed reintroduction of stage+region in request. Added options.
...
Delete bucket was still using them
Hopefully all :)
Further test fixes.
.... worked too long yesterday
Fixed Variable tests
Remove not used parameters from request() and add options with warning
2017-12-11 12:33:35 +01:00
Dmitri Zimine
c4374ec6b1
Optionally pass raw string, take 1
2017-08-03 10:28:53 -07:00
Dan Root
add4951a4b
Better handling for AWS Lambda logging lines.
...
Refactor duplicated log line formatting from invoke and logs plugins
into utils/formatLambdaLogEvent.js and add tests.
Make log line formatter understand default python logging module output
from Lambda functions.
Add payload output testing to invoke plugin.
Fixes #1796 and #3594
2017-05-19 12:42:02 -07:00
Doug Moscrop
1012c351b7
add sinon-bluebird to make promises in tests a bit cleaner
2017-02-08 12:59:18 -05:00
Maciej Winnicki
9f3b218157
refactor tests
2016-12-14 10:47:45 +01:00
Maciej Winnicki
145911a6ae
fix lint
2016-12-14 10:13:12 +01:00
Joe Stanton
b5284df55f
Reject promise and handle exit code in the wrapper
2016-12-14 10:11:51 +01:00
Joe Stanton
fb1b4ef14a
Correct exit code for failed function invocation
2016-12-14 10:09:04 +01:00
Eslam A. Hefnawy
08009c2945
handling strings
2016-12-13 18:08:05 +07:00
Eslam A. Hefnawy
142946e295
fixed bug where you can now invoke without any input data
2016-12-13 17:52:03 +07:00
Maciej Winnicki
b78f7ac254
remove duplicated tests
2016-12-08 11:23:18 +01:00
Maciej Winnicki
5a978afa92
add support for stdin in invoke command
2016-12-08 10:48:53 +01:00
Philipp Muens
d048cc3e09
Add check if data is JSON or simple string
2016-11-29 10:35:26 +01:00
Philipp Muens
ef7ccfc8e3
Add tests
2016-11-29 10:35:26 +01: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