Running CRA Jest in non-interactive mode

后端 未结 3 1393
感动是毒
感动是毒 2021-02-02 04:53

Update: my use case is mainly to run tests at CI, but overriding default CRA Jest parameters is something I\'m generally wondering about.


I\'m run

3条回答
  •  执笔经年
    2021-02-02 05:41

    non-interactive solution:

    npm test a --watchAll=false
    

    or

    yarn test a --watchAll=false
    

提交回复
热议问题