@allurereport/plugin-slack 3.0.0-beta.3 → 3.0.0-beta.4

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 +0 -1
  2. package/package.json +5 -3
package/dist/plugin.js CHANGED
@@ -3,7 +3,6 @@ export class SlackPlugin {
3
3
  constructor(options = {}) {
4
4
  this.options = options;
5
5
  this.done = async (context, store) => {
6
- const { reportFiles } = context;
7
6
  const statistic = await store.testsStatistic();
8
7
  if (statistic.total === 0) {
9
8
  throw new Error("no test results found");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allurereport/plugin-slack",
3
- "version": "3.0.0-beta.3",
3
+ "version": "3.0.0-beta.4",
4
4
  "description": "Allure Plugin to Report results to Slack",
5
5
  "keywords": [
6
6
  "allure",
@@ -25,11 +25,13 @@
25
25
  "scripts": {
26
26
  "build": "run clean && tsc --project ./tsconfig.json",
27
27
  "clean": "rimraf ./dist",
28
+ "eslint": "eslint ./src/**/*.{js,jsx,ts,tsx}",
29
+ "eslint:format": "eslint --fix ./src/**/*.{js,jsx,ts,tsx}",
28
30
  "test": "rimraf ./out && vitest run"
29
31
  },
30
32
  "dependencies": {
31
- "@allurereport/core-api": "3.0.0-beta.3",
32
- "@allurereport/plugin-api": "3.0.0-beta.3"
33
+ "@allurereport/core-api": "3.0.0-beta.4",
34
+ "@allurereport/plugin-api": "3.0.0-beta.4"
33
35
  },
34
36
  "devDependencies": {
35
37
  "@stylistic/eslint-plugin": "^2.6.1",