File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ describe('e2e', function () {
3838 // --version from the cli-repl package.json and --build-info from the generated build-info.json
3939 // (if available), which should all match.
4040 const shell = this . startTestShell ( { args : [ '--nodb' ] } ) ;
41+ await shell . waitForPrompt ( ) ;
4142 const versionFromShellApi = ( await shell . executeLine ( 'version()' ) )
4243 . replace ( / > / g, '' )
4344 . trim ( ) ;
@@ -50,7 +51,7 @@ describe('e2e', function () {
5051 await buildInfoShell . waitForSuccessfulExit ( ) ;
5152 const versionFromBuildInfo = JSON . parse ( buildInfoShell . output ) . version ;
5253
53- expect ( versionFromShellApi ) . to . contain ( versionFromCliFlag ) ;
54+ expect ( versionFromShellApi ) . to . equal ( versionFromCliFlag ) ;
5455 expect ( versionFromCliFlag ) . to . equal ( versionFromBuildInfo ) ;
5556 } ) ;
5657 } ) ;
You can’t perform that action at this time.
0 commit comments