File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 5858 ports :
5959 - 3306:3306
6060 options : --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
61+ redis :
62+ image : redis:7-alpine
63+ ports :
64+ - 6379:6379
65+ options : --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
6166 steps :
6267 - name : Checkout repository
6368 uses : actions/checkout@v3
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ process.env.NODE_ENV = NODE_ENVIRONMENTS.TEST;
1010
1111BeforeAll ( ( ) => { } ) ;
1212
13- Before ( function beforeMethod ( testCase , done ) {
13+ Before ( function beforeMethod ( testCase ) {
1414 this . logger = console ;
1515 this . logger . log ( '\n🟡 Starting scenario:' , testCase . pickle . name ) ;
1616 // Initialize variables
@@ -24,10 +24,9 @@ Before(function beforeMethod(testCase, done) {
2424 fs . mkdirSync ( logDir , { recursive : true } ) ;
2525 this . state . scenarionLogDir = logDir ;
2626 this . logger . log ( '📁 Scenario logs:' , logDir ) ;
27- done ( ) ;
2827} ) ;
2928
30- After ( async function afterMethod ( testCase , done ) {
29+ After ( async function afterMethod ( testCase ) {
3130 const tripleStoreConfiguration = [ ] ;
3231 const databaseNames = [ ] ;
3332 const promises = [ ] ;
@@ -105,7 +104,6 @@ After(async function afterMethod(testCase, done) {
105104 this . logger . log ( `📄 Location: ${ testCase . gherkinDocument . uri } :${ testCase . gherkinDocument . feature . location . line } ` ) ;
106105 this . logger . log ( `🟢 Status: ${ testCase . result . status } ` ) ;
107106 this . logger . log ( `⏱ Duration: ${ testCase . result . duration } milliseconds\n` ) ;
108- done ( ) ;
109107} ) ;
110108
111109AfterAll ( async ( ) => { } ) ;
You can’t perform that action at this time.
0 commit comments