@@ -1520,16 +1520,17 @@ Resources:
15201520 } ;
15211521 template . executeScenario ( scenario ) ;
15221522 } ) ;
1523+ } ) ;
15231524
1524- it ( 'test nested object property completion' , ( ) => {
1525- const template = new TemplateBuilder ( DocumentType . JSON , '' ) ;
1526- const scenario : TemplateScenario = {
1527- name : 'Nested object property completion' ,
1528- steps : [
1529- {
1530- action : 'type' ,
1531- position : { line : 0 , character : 0 } ,
1532- content : `{
1525+ it ( 'test nested object property completion' , ( ) => {
1526+ const template = new TemplateBuilder ( DocumentType . JSON , '' ) ;
1527+ const scenario : TemplateScenario = {
1528+ name : 'Nested object property completion' ,
1529+ steps : [
1530+ {
1531+ action : 'type' ,
1532+ position : { line : 0 , character : 0 } ,
1533+ content : `{
15331534 "AWSTemplateFormatVersion": "2010-09-09",
15341535 "Resources": {
15351536 "MyBucket": {
@@ -1542,21 +1543,20 @@ Resources:
15421543 }
15431544 }
15441545}` ,
1545- verification : {
1546- position : { line : 7 , character : 11 } ,
1547- expectation : CompletionExpectationBuilder . create ( )
1548- . expectContainsItems ( [
1549- 'TopicConfigurations' ,
1550- 'QueueConfigurations' ,
1551- 'LambdaConfigurations' ,
1552- 'EventBridgeConfiguration' ,
1553- ] )
1554- . build ( ) ,
1555- } ,
1556- } ,
1557- ] ,
1558- } ;
1559- template . executeScenario ( scenario ) ;
1560- } ) ;
1546+ verification : {
1547+ position : { line : 7 , character : 11 } ,
1548+ expectation : CompletionExpectationBuilder . create ( )
1549+ . expectContainsItems ( [
1550+ 'TopicConfigurations' ,
1551+ 'QueueConfigurations' ,
1552+ 'LambdaConfigurations' ,
1553+ 'EventBridgeConfiguration' ,
1554+ ] )
1555+ . build ( ) ,
1556+ } ,
1557+ } ,
1558+ ] ,
1559+ } ;
1560+ template . executeScenario ( scenario ) ;
15611561 } ) ;
15621562} ) ;
0 commit comments