Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/jan-molak/serenity-js
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-molak committed Sep 26, 2017
2 parents 03b2842 + 554119d commit a452644
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions book/design/assertions.md
Expand Up @@ -52,15 +52,15 @@ items => expect(items).to.eventually.include.('some item of interest');
could be made configurable:

```typescript
expected => actual => expect(items).to.eventually.include(expected);
expected => actual => expect(actual).to.eventually.include(expected);
```

We could also give the above function a name, and store it in our project as, say `assertions.ts`, so that
it can be reused in other scenarios:

```typescript
// assertions.ts
export include = expected => actual => expect(items).to.eventually.include(expected);
export include = expected => actual => expect(actual).to.eventually.include(expected);
```

With this one-liner in place, we could improve the task definition from the previous example:
Expand Down
2 changes: 1 addition & 1 deletion packages/integration-testing/package.json
@@ -1,6 +1,6 @@
{
"name": "@serenity-js/integration-testing",
"version": "2.0.0",
"version": "4.0.0",
"description": "Internal module to help test integration of Serenity/JS with test runners and frameworks",
"author": "Jan Molak <jan.molak@smartcodeltd.co.uk>",
"homepage": "http://serenity-js.org",
Expand Down
2 changes: 1 addition & 1 deletion packages/serenity-js/package.json
@@ -1,6 +1,6 @@
{
"name": "serenity-js",
"version": "1.8.0",
"version": "1.8.1",
"description": "Serenity/JS: Next generation acceptance testing library for modern web applications.",
"author": "Jan Molak <jan.molak@smartcodeltd.co.uk>",
"homepage": "http://serenity-js.org",
Expand Down

0 comments on commit a452644

Please sign in to comment.