@@ -1520,17 +1520,16 @@ Resources:
15201520 } ;
15211521 template . executeScenario ( scenario ) ;
15221522 } ) ;
1523- } ) ;
15241523
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 : `{
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 : `{
15341533 "AWSTemplateFormatVersion": "2010-09-09",
15351534 "Resources": {
15361535 "MyBucket": {
@@ -1543,20 +1542,21 @@ Resources:
15431542 }
15441543 }
15451544}` ,
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 ) ;
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+ } ) ;
15611561 } ) ;
15621562} ) ;
0 commit comments