20 Commits

Author SHA1 Message Date
Mariusz Nowak
3808471972 test: Move unit tests to "test/unit" folder 2020-11-30 16:53:52 +01:00
Nguyễn Việt Đức
4c6f8be5cc
refactor: Replace _.map with array.map (#7827) 2020-06-12 09:59:42 +02:00
Mariusz Nowak
4944f471b1
Prettify 2019-06-26 12:43:01 +02:00
weeniearms
b5da4d09ed Added possibility to specify custom S3 key prefix instead of the standard 'serverless' 2018-09-17 09:35:40 +02: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
Erik Erikson
bf8d57fa9f Improve Stage and Region Usage
Remove the errant (but understandable) distributed usage of region and stage settings.  This otherwise locks in a multitude of bugs around the improper algorithm for selecting (given all context) the proper region or stage setting.  Instead, all code should use the centralized algorithm for determining such values.  This creates a strange first and second class configuration concept but these two are sufficiently varied and complex in their creation and use that this seems appropriate.
2017-12-11 16:39:44 -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
Rafał Wiliński
d309c89301 Fix eslint issues 2017-08-21 23:27:16 +02:00
Rafał Wiliński
fc505e0b65 Reverse listFunctions versions sorting 2017-08-21 23:21:17 +02:00
Philipp Muens
26051ad798 Fix function retrieval for "deploy list functions" command 2017-07-21 16:35:43 +02:00
Philipp Muens
491d754b2b Add note that only the last 5 versions are shown 2017-05-17 12:46:46 +02:00
Philipp Muens
8d2624605b Re-order function versions when displaying 2017-05-17 12:46:46 +02:00
Philipp Muens
69f945650c Add rollback function support 2017-05-17 12:46:46 +02:00
Doug Moscrop
1012c351b7 add sinon-bluebird to make promises in tests a bit cleaner 2017-02-08 12:59:18 -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
Nik Graf
cd6888934c make sure all tests run 2016-10-20 16:47:47 +02:00
Nik Graf
55d594e745 fix deploy list tests 2016-10-20 16:31:26 +02:00
Nik Graf
57b42ec9b8 improve wording 2016-10-20 11:19:05 +02:00
Nik Graf
5dcde541b5 changed the term stacks to deployments 2016-10-19 18:40:31 +02:00
Nik Graf
a7d42e470c moved listing stacks into a separate plugin 2016-10-19 18:28:24 +02:00