(scope: Construct, id: string)
| 362 | |
| 363 | class TheirConstruct extends Construct { |
| 364 | constructor(scope: Construct, id: string) { |
| 365 | super(scope, id); |
| 366 | |
| 367 | new YourConstruct(this, 'YourConstruct'); |
| 368 | |
| 369 | this.node.addValidation({ validate: () => ['their-error'] }); |
| 370 | } |
| 371 | } |
| 372 | |
| 373 | class TestStack extends Root { |
nothing calls this directly
no test coverage detected