@thisisagile/easy-test 8.44.14 → 8.45.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thisisagile/easy-test",
3
- "version": "8.44.14",
3
+ "version": "8.45.0",
4
4
  "description": "Straightforward library for testing microservices built with @thisisagile/easy",
5
5
  "author": "Sander Hoogendoorn",
6
6
  "license": "MIT",
@@ -9,15 +9,15 @@ export const toBeAt = (tester?: Tester, uc?: UseCase, id?: Id): CustomMatcherRes
9
9
  .undefined(() => uc, 'Use case is undefined')
10
10
  .not(
11
11
  t => t.url.includes(`/${uc?.app.id}`),
12
- t => `We expected the tester to be at app '${uc?.app.id}', but it is at '${t?.url}' instead.`,
12
+ t => `We expected the tester to be at app '${uc?.app.id}', but it is at '${t?.url}' instead.`
13
13
  )
14
14
  .not(
15
15
  t => t.url.includes(`/${uc?.id}`),
16
- t => `We expected the tester to be at use case '${uc?.id}', but it is at '${t?.url}' instead.`,
16
+ t => `We expected the tester to be at use case '${uc?.id}', but it is at '${t?.url}' instead.`
17
17
  )
18
18
  .not(
19
19
  t => t.url.includes(id ? `/${id}` : ''),
20
- t => `We expected the path to contain '/42', but it is '${t?.url}' instead.`,
20
+ t => `We expected the path to contain '/42', but it is '${t?.url}' instead.`
21
21
  )
22
22
  .else(t => `The tester is at '${t?.url}'`);
23
23
  };