@serenity-js/assertions 3.1.6 → 3.2.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/CHANGELOG.md +16 -0
- package/README.md +28 -4
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.2.0](https://github.com/serenity-js/serenity-js/compare/v3.1.6...v3.2.0) (2023-05-05)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **core:** use "types" instead of "typings" in package.json files ([b83d922](https://github.com/serenity-js/serenity-js/commit/b83d922076242c6cd5d6f2da055a05aa5e77f11b)), closes [#1682](https://github.com/serenity-js/serenity-js/issues/1682)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* **core:** introduced support for Node.js 20, dropped support for Node.js 14 ([491fef8](https://github.com/serenity-js/serenity-js/commit/491fef8df672a2b40d247887b3da409dccbd26fd)), closes [#1678](https://github.com/serenity-js/serenity-js/issues/1678)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [3.1.6](https://github.com/serenity-js/serenity-js/compare/v3.1.5...v3.1.6) (2023-04-18)
|
|
7
23
|
|
|
8
24
|
|
package/README.md
CHANGED
|
@@ -5,16 +5,23 @@
|
|
|
5
5
|
[](https://matrix.to/#/#serenity-js:gitter.im)
|
|
6
6
|
[](https://github.com/sponsors/serenity-js)
|
|
7
7
|
|
|
8
|
-
[Serenity/JS](https://serenity-js.org) is an innovative framework designed to make acceptance and regression testing
|
|
8
|
+
[Serenity/JS](https://serenity-js.org) is an innovative open-source framework designed to make acceptance and regression testing
|
|
9
9
|
of complex software systems faster, more collaborative and easier to scale.
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
⭐️ Get started with Serenity/JS!
|
|
12
|
+
- [Serenity/JS Handbook](https://serenity-js.org/handbook) and [tutorial](https://serenity-js.org/handbook/web-testing/your-first-web-scenario),
|
|
13
|
+
- [API documentation](https://serenity-js.org/api/core),
|
|
14
|
+
- [Serenity/JS project templates on GitHub](https://serenity-js.org/handbook/getting-started#serenityjs-project-templates).
|
|
12
15
|
|
|
13
|
-
|
|
16
|
+
👋 Join the Serenity/JS Community!
|
|
17
|
+
- Meet other Serenity/JS developers and maintainers on the [Serenity/JS Community chat channel](https://matrix.to/#/#serenity-js:gitter.im),
|
|
18
|
+
- Find answers to your Serenity/JS questions on the [Serenity/JS Forum](https://github.com/orgs/serenity-js/discussions/categories/how-do-i),
|
|
19
|
+
- Learn how to [contribute to Serenity/JS](https://serenity-js.org/contributing),
|
|
20
|
+
- Support the project and gain access to [Serenity/JS Playbooks](https://github.com/serenity-js/playbooks) by becoming a [Serenity/JS GitHub Sponsor](https://github.com/sponsors/serenity-js)!
|
|
14
21
|
|
|
15
22
|
## Serenity/JS Assertions
|
|
16
23
|
|
|
17
|
-
[`@serenity-js/assertions`](https://serenity-js.org/
|
|
24
|
+
[`@serenity-js/assertions`](https://serenity-js.org/api/rest/) is an assertions library implementing the [Screenplay Pattern](https://serenity-js.org/handbook/thinking-in-serenity-js/screenplay-pattern.html).
|
|
18
25
|
|
|
19
26
|
### Installation
|
|
20
27
|
|
|
@@ -100,4 +107,21 @@ await actorCalled('Erica').attemptsTo(
|
|
|
100
107
|
);
|
|
101
108
|
```
|
|
102
109
|
|
|
110
|
+
## 📣 Stay up to date
|
|
111
|
+
|
|
112
|
+
New features, tutorials, and demos are coming soon!
|
|
113
|
+
Follow [Serenity/JS on LinkedIn](https://www.linkedin.com/company/serenity-js),
|
|
114
|
+
subscribe to [Serenity/JS channel on YouTube](https://www.youtube.com/@serenity-js) and join the [Serenity/JS Community Chat](https://matrix.to/#/#serenity-js:gitter.im) to stay up to date!
|
|
115
|
+
Please also make sure to star ⭐️ [Serenity/JS on GitHub](https://github.com/serenity-js/serenity-js) to help others discover the framework!
|
|
116
|
+
|
|
117
|
+
[](https://www.linkedin.com/company/serenity-js)
|
|
118
|
+
[](https://www.youtube.com/@serenity-js)
|
|
119
|
+
[](https://matrix.to/#/#serenity-js:gitter.im)
|
|
120
|
+
[](https://github.com/serenity-js/serenity-js)
|
|
121
|
+
|
|
122
|
+
## 💛 Support Serenity/JS
|
|
123
|
+
|
|
124
|
+
If you appreciate all the effort that goes into making sophisticated tools easy to work with, please support our work and become a Serenity/JS GitHub Sponsor today!
|
|
125
|
+
|
|
126
|
+
[](https://github.com/sponsors/serenity-js)
|
|
103
127
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@serenity-js/assertions",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "Screenplay-style assertion library",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Jan Molak",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"access": "public"
|
|
17
17
|
},
|
|
18
18
|
"main": "lib/index.js",
|
|
19
|
-
"
|
|
19
|
+
"types": "./lib/index.d.ts",
|
|
20
20
|
"keywords": [
|
|
21
21
|
"serenity-js",
|
|
22
22
|
"cucumber",
|
|
@@ -27,7 +27,8 @@
|
|
|
27
27
|
],
|
|
28
28
|
"scripts": {
|
|
29
29
|
"clean": "rimraf target",
|
|
30
|
-
"test": "
|
|
30
|
+
"test": "c8 npm run test:no-coverage",
|
|
31
|
+
"test:no-coverage": "mocha --config ../../.mocharc.yml --reporter-options 'mocha-multi=.mocha-reporters.json' 'spec/**/*.spec.*'",
|
|
31
32
|
"compile": "rimraf lib && tsc --project tsconfig.build.json"
|
|
32
33
|
},
|
|
33
34
|
"repository": {
|
|
@@ -39,22 +40,21 @@
|
|
|
39
40
|
"url": "https://github.com/serenity-js/serenity-js/issues"
|
|
40
41
|
},
|
|
41
42
|
"engines": {
|
|
42
|
-
"node": "^
|
|
43
|
-
"npm": "^6 || ^7 || ^8 || ^9"
|
|
43
|
+
"node": "^16.13 || ^18.12 || ^20"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@serenity-js/core": "3.
|
|
46
|
+
"@serenity-js/core": "3.2.0",
|
|
47
47
|
"tiny-types": "^1.19.1"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@integration/testing-tools": "3.0.0",
|
|
51
51
|
"@types/chai": "^4.3.4",
|
|
52
52
|
"@types/mocha": "^10.0.1",
|
|
53
|
+
"c8": "7.13.0",
|
|
53
54
|
"mocha": "^10.2.0",
|
|
54
55
|
"mocha-multi": "^1.1.7",
|
|
55
|
-
"nyc": "15.1.0",
|
|
56
56
|
"ts-node": "^10.9.1",
|
|
57
57
|
"typescript": "^5.0.4"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "e69cea764f50991c3ad742f28926b4345b3e2422"
|
|
60
60
|
}
|