Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(doc): Expect helper is not described correctly #4370

Merged
merged 1 commit into from
Jun 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/helpers/Expect.md → docs/helpers/ExpectHelper.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
permalink: /helpers/Expect
permalink: /helpers/ExpectHelper
editLink: false
sidebar: auto
title: Expect
title: ExpectHelper
---

<!-- Generated by documentation.js. Update this documentation by updating the source code. -->
Expand All @@ -20,7 +20,7 @@ Zero-configuration when paired with other helpers like REST, Playwright:
{
helpers: {
Playwright: {...},
Expect: {},
ExpectHelper: {},
}
}
```
Expand Down
2 changes: 1 addition & 1 deletion lib/helper/Expect.js → lib/helper/ExpectHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import('chai').then(chai => {
*{
* helpers: {
* Playwright: {...},
* Expect: {},
* ExpectHelper: {},
* }
*}
* ```
Expand Down
2 changes: 1 addition & 1 deletion test/acceptance/codecept.Playwright.coverage.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports.config = {
require: '../support/ScreenshotSessionHelper.js',
outputPath: 'test/acceptance/output',
},
Expect: {},
ExpectHelper: {},
},
include: {},
bootstrap: false,
Expand Down
2 changes: 1 addition & 1 deletion test/acceptance/codecept.Playwright.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports.config = {
require: '../support/ScreenshotSessionHelper.js',
outputPath: 'test/acceptance/output',
},
Expect: {},
ExpectHelper: {},
},
include: {},
bootstrap: false,
Expand Down
2 changes: 1 addition & 1 deletion test/acceptance/codecept.Playwright.retryTo.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports.config = {
require: '../support/ScreenshotSessionHelper.js',
outputPath: 'test/acceptance/output',
},
Expect: {},
ExpectHelper: {},
},
include: {},
bootstrap: false,
Expand Down
2 changes: 1 addition & 1 deletion test/acceptance/codecept.Puppeteer.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ module.exports.config = {
require: '../support/ScreenshotSessionHelper.js',
outputPath: './output',
},
Expect: {},
ExpectHelper: {},
},
include: {},
bootstrap: false,
Expand Down
2 changes: 1 addition & 1 deletion test/acceptance/codecept.Testcafe.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports.config = {
url: TestHelper.siteUrl(),
show: true,
},
Expect: {},
ExpectHelper: {},
},
include: {},
bootstrap: false,
Expand Down
2 changes: 1 addition & 1 deletion test/acceptance/codecept.WebDriver.devtools.coverage.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module.exports.config = {
require: '../support/ScreenshotSessionHelper.js',
outputPath: './output',
},
Expect: {},
ExpectHelper: {},
},
include: {},
mocha: {},
Expand Down
2 changes: 1 addition & 1 deletion test/acceptance/codecept.WebDriver.devtools.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module.exports.config = {
require: '../support/ScreenshotSessionHelper.js',
outputPath: './output',
},
Expect: {},
ExpectHelper: {},
},
include: {},
bootstrap: async () => new Promise(done => {
Expand Down
2 changes: 1 addition & 1 deletion test/acceptance/codecept.WebDriver.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module.exports.config = {
require: '../support/ScreenshotSessionHelper.js',
outputPath: './output',
},
Expect: {},
ExpectHelper: {},
},
include: {},
bootstrap: async () => new Promise(done => {
Expand Down
2 changes: 1 addition & 1 deletion test/helper/Expect_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import('chai').then(chai => {
expect = chai.expect;
});

const ExpectHelper = require('../../lib/helper/Expect');
const ExpectHelper = require('../../lib/helper/ExpectHelper');

global.codeceptjs = require('../../lib');

Expand Down
Loading