File tree Expand file tree Collapse file tree
packages/aws-cdk-lib/aws-eks/test Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -350,20 +350,6 @@ describe('cluster', () => {
350350 expect ( ( ) => cluster . addCdk8sChart ( 'chart' , someConstruct ) ) . toThrow ( / I n v a l i d c d k 8 s c h a r t . M u s t c o n t a i n a \' t o J s o n \' m e t h o d , b u t f o u n d u n d e f i n e d / ) ;
351351 } ) ;
352352
353- test ( 'throws when a core construct is added as cdk8s chart' , ( ) => {
354- const { stack } = testFixture ( ) ;
355-
356- const cluster = new eks . Cluster ( stack , 'Cluster' , {
357- version : CLUSTER_VERSION ,
358- prune : false ,
359- } ) ;
360-
361- // create a plain construct, not a cdk8s chart
362- const someConstruct = new Construct ( stack , 'SomeConstruct' ) ;
363-
364- expect ( ( ) => cluster . addCdk8sChart ( 'chart' , someConstruct ) ) . toThrow ( / I n v a l i d c d k 8 s c h a r t . M u s t c o n t a i n a \' t o J s o n \' m e t h o d , b u t f o u n d u n d e f i n e d / ) ;
365- } ) ;
366-
367353 test ( 'cdk8s chart can be added to cluster' , ( ) => {
368354 const { stack } = testFixture ( ) ;
369355
You can’t perform that action at this time.
0 commit comments