Socket
Socket
Sign inDemoInstall

@serenity-js/assertions

Package Overview
Dependencies
Maintainers
1
Versions
357
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@serenity-js/assertions - npm Package Compare versions

Comparing version 3.13.3 to 3.14.0

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

# [3.14.0](https://github.com/serenity-js/serenity-js/compare/v3.13.3...v3.14.0) (2023-12-02)
**Note:** Version bump only for package @serenity-js/assertions
## [3.13.3](https://github.com/serenity-js/serenity-js/compare/v3.13.2...v3.13.3) (2023-11-22)

@@ -8,0 +16,0 @@

2

lib/Ensure.js

@@ -54,2 +54,4 @@ "use strict";

class Ensure extends core_1.Interaction {
actual;
expectation;
/**

@@ -56,0 +58,0 @@ * Creates an {@apilink Interaction|interaction} to `Ensure`, which

@@ -67,2 +67,5 @@ "use strict";

class EnsureEventually extends core_1.Interaction {
actual;
expectation;
timeout;
/**

@@ -69,0 +72,0 @@ * @param actual

3

lib/expectations/and.js

@@ -33,2 +33,4 @@ "use strict";

class And extends core_1.Expectation {
expectations;
static Separator = ' and ';
constructor(expectations) {

@@ -49,3 +51,2 @@ const description = expectations.map(expectation => expectation.toString()).join(And.Separator);

}
And.Separator = ' and ';
//# sourceMappingURL=and.js.map

@@ -34,2 +34,3 @@ "use strict";

class ContainAtLeastOneItemThatMeetsExpectation extends core_1.Expectation {
expectation;
static descriptionFor(expectation) {

@@ -36,0 +37,0 @@ return (0, core_1.d) `contain at least one item that does ${expectation}`;

@@ -34,2 +34,3 @@ "use strict";

class ContainItemsWhereEachItemMeetsExpectation extends core_1.Expectation {
expectation;
static descriptionFor(expectation) {

@@ -36,0 +37,0 @@ return (0, core_1.d) `contain items where each item does ${expectation}`;

@@ -34,2 +34,3 @@ "use strict";

class Not extends core_1.Expectation {
expectation;
static flipped(message) {

@@ -36,0 +37,0 @@ return message.startsWith('not ')

@@ -33,2 +33,4 @@ "use strict";

class Or extends core_1.Expectation {
expectations;
static Separator = ' or ';
static subjectFor(expectations) {

@@ -56,3 +58,2 @@ return expectations

}
Or.Separator = ' or ';
//# sourceMappingURL=or.js.map

@@ -72,2 +72,3 @@ "use strict";

class HasProperty extends core_1.Expectation {
propertyName;
constructor(propertyName, expectation) {

@@ -74,0 +75,0 @@ const subject = `have property ${String(propertyName)} that does ${expectation}`;

{
"name": "@serenity-js/assertions",
"version": "3.13.3",
"version": "3.14.0",
"description": "Screenplay-style assertion library",

@@ -46,3 +46,3 @@ "author": {

"dependencies": {
"@serenity-js/core": "3.13.3",
"@serenity-js/core": "3.14.0",
"tiny-types": "^1.21.0"

@@ -60,3 +60,3 @@ },

},
"gitHead": "35a69bfec3f813fc86efa111e317a89d5defc5c2"
"gitHead": "a81b85d03b62c662c00aecebc75ed35a97815a6b"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc