@playkit-js/moderation 3.1.1 → 3.2.0-canary.2-3a1409b

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/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [3.2.0-canary.2-3a1409b](https://github.com/kaltura/playkit-js-moderation/compare/v3.1.1...v3.2.0-canary.2-3a1409b) (2023-01-04)
6
+
7
+
8
+ ### Features
9
+
10
+ * **FEV-1628:** add Cypress tests ([#42](https://github.com/kaltura/playkit-js-moderation/issues/42)) ([3a1409b](https://github.com/kaltura/playkit-js-moderation/commit/3a1409bca48c63c821a5b5c69bfe2395bcb5b3c3))
11
+
5
12
  ### [3.1.1](https://github.com/kaltura/playkit-js-moderation/compare/v3.1.0...v3.1.1) (2022-12-12)
6
13
 
7
14
  ## [3.1.0](https://github.com/kaltura/playkit-js-moderation/compare/v3.0.0...v3.1.0) (2022-12-12)
package/README.md CHANGED
@@ -33,12 +33,23 @@ yarn install
33
33
 
34
34
  ### Building
35
35
 
36
- Then, build the player
36
+ Then, build the plugin
37
37
 
38
38
  ```javascript
39
39
  yarn run build
40
40
  ```
41
41
 
42
+ ### Testing
43
+
44
+ The plugin uses `cypress` tool for e2e tests
45
+
46
+ ```javascript
47
+ yarn run test
48
+ ```
49
+
50
+ UI conf file (`cypress/public/ui-conf.js`) contains Kaltura player and plugin dependencies.
51
+ Keep Kaltura player and dependency versions aligned to currently released versions.
52
+
42
53
  ### Embed the library in your test page
43
54
 
44
55
  Finally, add the bundle as a script tag in your page, and initialize the player
@@ -55,7 +66,7 @@ Finally, add the bundle as a script tag in your page, and initialize the player
55
66
  ...
56
67
  targetId: 'player-placeholder',
57
68
  plugins: {
58
- playkit-js-moderation: { ... }
69
+ 'playkit-js-moderation': { ... }
59
70
  }
60
71
  ...
61
72
  };
@@ -71,14 +82,6 @@ Moderation plugin configuration can been found here:
71
82
 
72
83
  - **[Configuration](#configuration)**
73
84
 
74
- ### And coding style tests
75
-
76
- We use ESLint [recommended set](http://eslint.org/docs/rules/) with some additions for enforcing [Flow] types and other rules.
77
-
78
- See [ESLint config](.eslintrc.json) for full configuration.
79
-
80
- We also use [.editorconfig](.editorconfig) to maintain consistent coding styles and settings, please make sure you comply with the styling.
81
-
82
85
  ## Contributing
83
86
 
84
87
  Please read [CONTRIBUTING.md](https://gist.github.com/PurpleBooth/b24679402957c63ec426) for details on our code of conduct, and the process for submitting pull requests to us.
@@ -132,7 +135,7 @@ This project is licensed under the AGPL-3.0 License - see the [LICENSE.md](LICEN
132
135
  },
133
136
  {
134
137
  "id": 3,
135
- "label": 'Harmful Or Dangerous Act"
138
+ "label": 'Harmful Or Dangerous Act"
136
139
  },
137
140
  {
138
141
  "id": 4,