File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ const path = require('path');
1313const spawn = require ( 'child_process' ) . spawn ;
1414const ParseDashboard = require ( '../../../../Parse-Dashboard/app' ) ;
1515const puppeteer = require ( 'puppeteer' ) ;
16+ const pc = require ( 'picocolors' ) ;
1617
1718const dashboardSettings = {
1819 apps : [
@@ -51,10 +52,14 @@ describe('dashboard e2e', () => {
5152 } , 20_000 ) ;
5253} ) ;
5354
54- describe ( 'Config options' , ( ) => {
55- it ( 'should start with port option' , async ( ) => {
55+ describe . only ( 'Config options' , ( ) => {
56+ it . only ( 'should start with port option' , async ( ) => {
5657 const result = await startParseDashboardAndGetOutput ( [ '--port' , '4041' ] ) ;
57- expect ( result ) . toContain ( 'The dashboard is now available at http://0.0.0.0:4041/' ) ;
58+ expect ( result ) . toContain (
59+ `${ pc . yellow ( 'The dashboard' ) } ${ pc . green ( 'is now available at' ) } ${ pc . cyan (
60+ 'http://0.0.0.0:4041/'
61+ ) } `
62+ ) ;
5863 } ) ;
5964
6065 it ( 'should reject to start if config and other options are combined' , async ( ) => {
You can’t perform that action at this time.
0 commit comments