@@ -131,7 +131,7 @@ describe('show the composer visualization without creating openwhisk assets', fu
131
131
132
132
/** test: viz, then create with no args, testing for handling of implicit entity */
133
133
it ( `should create with implicit entity` , ( ) => cli . do ( 'app create' , this . app )
134
- . then ( verifyTheBasicStuff ( seq . file . replace ( / \. [ ^ \. ] * / , '' ) , 'composerLib' ) ) // the .replace part strips off the ".js" suffix
134
+ . then ( verifyTheBasicStuff ( seq . file , 'composerLib' ) )
135
135
. then ( verifyNodeExists ( 'seq1' , false ) ) // not deployed
136
136
. then ( verifyNodeExists ( 'seq2' , false ) ) // not deployed
137
137
. then ( verifyNodeExists ( 'seq3' , false ) ) // not deployed
@@ -158,7 +158,7 @@ describe('show the composer visualization without creating openwhisk assets', fu
158
158
159
159
/** test: viz, then create with -r, testing for handling of implicit entity and auto-deploy */
160
160
it ( `should create wookiechat and dependent actions with implicit entity` , ( ) => cli . do ( 'app update -r' , this . app )
161
- . then ( verifyTheBasicStuff ( 'app' , 'composerLib' ) ) // the .replace part strips off the ".js" suffix
161
+ . then ( verifyTheBasicStuff ( 'app.js ' , 'composerLib' ) )
162
162
. then ( verifyNodeExists ( 'swapi' , true ) ) // expect to be deployed
163
163
. then ( verifyNodeExists ( 'stapi' , true ) ) // expect to be deployed
164
164
. then ( verifyNodeExists ( 'validate-swapi' , true ) ) // expect to be deployed
0 commit comments