serverless-jest-plugin icon indicating copy to clipboard operation
serverless-jest-plugin copied to clipboard

Jest in Watch mode

Open MyNameIsOka opened this issue 4 years ago • 2 comments

Hi all,

I found this thread about starting Jest in watch mode for a serverless project but didn't want to post in this old thread: https://github.com/nordcloud/serverless-jest-plugin/issues/8

I couldn't find any info if this is possible now. Could you please give me some tips about how to get watch-mode running with a serverless project running?

MyNameIsOka avatar Mar 02 '20 05:03 MyNameIsOka

try serverless invoke test --watch true

harryhazza77 avatar Sep 04 '20 11:09 harryhazza77

try serverless invoke test --watch true

This doesn't work

Rather add the following to your serverless.yml:

custom:
  jest:
    watch: true

andrewquartey avatar Dec 23 '20 14:12 andrewquartey