aws/aws-cdk

(docs): nodejs-function, document how to disable bundling for tests

開放

#12,844 建立於 2021年2月3日

 (6 則留言) (7 個反應) (0 位負責人)TypeScript (3,530 個分叉)batch import
@aws-cdk/pipelinesdocs/inlineeffort/smallfeature-requestgood first issuep2

倉庫指標

星標
 (10,710 顆星)
PR 合併指標
 (平均合併 14天 11小時) (30 天內合併 68 個 PR)

描述

Create an option to disable, (or automatically disable?) asset build/bundling, when using Jest to instantiate a cdk-pipeline for tests

Use Case

When using a pipeline instance in jest it causes the assets to build/bundle, it may be the intention of the test to check only that the pipeline is correctly formed, build/bundle testing may be handled else where. In this case the build/bundle process creates additional time delay on testing in synth stage of the pipeline.

Proposed Solution

Create an option to disable, (or automatically disable?) asset build/bundling, when using Jest to instantiate a cdk-pipeline for tests

Other

  • :wave: I may be able to implement this feature request
  • :warning: This feature might incur a breaking change

This is a :rocket: Feature Request

貢獻者指南