Aaron Eaton
03/29/2022, 3:32 PM--stage test fix that?Adrián Mouly
03/29/2022, 3:33 PMAaron Eaton
03/29/2022, 3:35 PMsst test --stage=test. See https://docs.serverless-stack.com/packages/cli#testAdrián Mouly
03/29/2022, 3:37 PMBrinsley
03/29/2022, 3:43 PMconst stack = new MyStack(new App());
App with no config supplied will use the default values - where stage is dev.
You can pass { stage: "whatever" } in the the App constructor to set the stage.Adrián Mouly
03/29/2022, 3:47 PMAdrián Mouly
03/29/2022, 3:47 PMAdrián Mouly
03/29/2022, 3:47 PMAdrián Mouly
03/29/2022, 3:47 PMBrinsley
03/29/2022, 3:48 PMAdrián Mouly
03/29/2022, 6:34 PMAdrián Mouly
03/29/2022, 6:36 PMconst app = new App({stage: ‘test’});