Skip to content

Commit e86cd1d

Browse files
author
DavertMik
committed
Merge branch 'feat/step-sections' of github.com:codeceptjs/CodeceptJS into feat/step-sections
2 parents bb007b1 + ef15bdb commit e86cd1d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/steps.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const step = {
3939
endSection,
4040

4141
Section: section,
42-
SectionEnd: endSection,
42+
EndSection: endSection,
4343

4444
// shortcuts
4545
Given: () => section('Given'),

test/data/sandbox/configs/step-sections/step-sections_test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const { Section, SectionEnd } = require('codeceptjs/steps')
1+
const { Section, EndSection } = require('codeceptjs/steps')
22

33
Feature('step-sections')
44

@@ -28,7 +28,7 @@ Scenario('test using of hidden step-sections', ({ I, userPage }) => {
2828
userPage.actOnPage()
2929
I.act('One more step')
3030

31-
SectionEnd()
31+
EndSection()
3232

3333
I.act('Nothing to say')
3434
})

0 commit comments

Comments
 (0)