@allurereport/plugin-allure2 3.0.0-beta.27 → 3.0.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.
Files changed (2) hide show
  1. package/dist/plugin.js +1 -1
  2. package/package.json +4 -4
package/dist/plugin.js CHANGED
@@ -24,7 +24,7 @@ export class Allure2Plugin {
24
24
  for (const value of tests) {
25
25
  const fixtures = await store.fixturesByTrId(value.id);
26
26
  const retries = await store.retriesByTrId(value.id);
27
- const history = await store.historyByTrId(value.id);
27
+ const history = (await store.historyByTrId(value.id)) ?? [];
28
28
  const allure2TestResult = convertTestResult({
29
29
  attachmentMap,
30
30
  fixtures,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allurereport/plugin-allure2",
3
- "version": "3.0.0-beta.27",
3
+ "version": "3.0.0",
4
4
  "description": "The classic version of Allure HTML report",
5
5
  "keywords": [
6
6
  "allure",
@@ -30,9 +30,9 @@
30
30
  "test": "rimraf ./out && vitest run"
31
31
  },
32
32
  "dependencies": {
33
- "@allurereport/core-api": "3.0.0-beta.27",
34
- "@allurereport/plugin-api": "3.0.0-beta.27",
35
- "@allurereport/web-allure2": "3.0.0-beta.27",
33
+ "@allurereport/core-api": "3.0.0",
34
+ "@allurereport/plugin-api": "3.0.0",
35
+ "@allurereport/web-allure2": "3.0.0",
36
36
  "handlebars": "^4.7.8"
37
37
  },
38
38
  "devDependencies": {