Skip to content

Commit 4361efc

Browse files
author
DavertMik
committed
updated readme
1 parent ff9c38d commit 4361efc

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,28 @@
22

33
Expect helper for I.expect calls
44

5-
Zero-configuration when paired with other helpers like REST, Playwright:
5+
Installation:
6+
7+
```sh
8+
npm i @codeceptjs/expect-helper --save
9+
```
10+
11+
Enable it inside codecept conf file:
612

713
```js
8-
// inside codecept.conf.js
14+
// inside codecept.conf.js/ts
915
{
1016
helpers: {
1117
Playwright: {...},
12-
Expect: {},
18+
Expect: {
19+
require: '@codeceptjs/expect-helper'
20+
},
1321
}
1422
}
1523
```
1624

1725
## Usage
1826

19-
## Methods
20-
2127
### I.expectEqual
2228

2329
Asserts that the actual value is equal to the expected value.

0 commit comments

Comments
 (0)