allure-codeceptjs 3.7.1 → 3.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -129,3 +129,17 @@ Scenario("Signing in with a correct password", async () => {
|
|
|
129
129
|
```
|
|
130
130
|
|
|
131
131
|
More details about the API are available at [https://allurereport.org/docs/codeceptjs-reference/](https://allurereport.org/docs/codeceptjs-reference/).
|
|
132
|
+
|
|
133
|
+
### Sync API
|
|
134
|
+
|
|
135
|
+
When your test code uses synchronous helpers or matcher integrations, you can use the sync facade from `allure-js-commons/sync`.
|
|
136
|
+
|
|
137
|
+
```js
|
|
138
|
+
import * as allure from "allure-js-commons/sync";
|
|
139
|
+
|
|
140
|
+
allure.step("check result", () => {
|
|
141
|
+
allure.parameter("mode", "sync");
|
|
142
|
+
});
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
The sync facade is strict-sync only: `allure.step()` must finish synchronously and must not return a `Promise`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "allure-codeceptjs",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.8.0",
|
|
4
4
|
"description": "Allure codeceptjs integration",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"allure",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"test": "vitest run"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"allure-js-commons": "3.
|
|
50
|
-
"allure-mocha": "3.
|
|
49
|
+
"allure-js-commons": "3.8.0",
|
|
50
|
+
"allure-mocha": "3.8.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@babel/cli": "^7.28.0",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"@types/jasmine": "^5.1.4",
|
|
63
63
|
"@types/node": "^20.19.0",
|
|
64
64
|
"allure-commandline": "^2.29.0",
|
|
65
|
-
"allure-vitest": "3.
|
|
65
|
+
"allure-vitest": "3.8.0",
|
|
66
66
|
"babel-plugin-add-module-exports": "^1.0.4",
|
|
67
67
|
"codeceptjs": "^3.7.6-beta.1",
|
|
68
68
|
"codeceptjs-expect": "^1.0.3",
|