@thisisagile/easy-test 10.11.14 → 10.14.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.
@@ -1,7 +1,7 @@
1
1
  /// <reference types="jest" />
2
2
  import CustomMatcherResult = jest.CustomMatcherResult;
3
3
  import { Id, Tester, UseCase } from '../utils/Types';
4
- export declare const toBeAt: (tester?: Tester | undefined, uc?: UseCase | undefined, id?: Id | undefined) => CustomMatcherResult;
4
+ export declare const toBeAt: (tester?: Tester, uc?: UseCase, id?: Id) => CustomMatcherResult;
5
5
  declare global {
6
6
  namespace jest {
7
7
  interface Matchers<R, T> {
@@ -1,7 +1,7 @@
1
1
  /// <reference types="jest" />
2
2
  import CustomMatcherResult = jest.CustomMatcherResult;
3
3
  import { Id, Tester, UseCase } from '../utils/Types';
4
- export declare const toBeExactlyAt: (tester?: Tester | undefined, uc?: UseCase | undefined, id?: Id | undefined) => CustomMatcherResult;
4
+ export declare const toBeExactlyAt: (tester?: Tester, uc?: UseCase, id?: Id) => CustomMatcherResult;
5
5
  declare global {
6
6
  namespace jest {
7
7
  interface Matchers<R, T> {
@@ -1,7 +1,7 @@
1
1
  /// <reference types="jest" />
2
2
  import CustomMatcherResult = jest.CustomMatcherResult;
3
3
  import { Exception } from '../utils/Types';
4
- export declare const toMatchException: (received: Exception, expected: unknown, reason?: string | undefined) => CustomMatcherResult;
4
+ export declare const toMatchException: (received: Exception, expected: unknown, reason?: string) => CustomMatcherResult;
5
5
  declare global {
6
6
  namespace jest {
7
7
  interface Matchers<R, T> {
@@ -1,7 +1,7 @@
1
1
  /// <reference types="jest" />
2
2
  import CustomMatcherResult = jest.CustomMatcherResult;
3
3
  import { Uri } from '../utils/Types';
4
- export declare const toMatchRoute: (uri?: import("../utils/Types").Text | undefined, route?: string | import("../utils/Types").Text | undefined) => CustomMatcherResult;
4
+ export declare const toMatchRoute: (uri?: Uri, route?: Uri | string) => CustomMatcherResult;
5
5
  declare global {
6
6
  namespace jest {
7
7
  interface Matchers<R, T> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thisisagile/easy-test",
3
- "version": "10.11.14",
3
+ "version": "10.14.0",
4
4
  "description": "Straightforward library for testing microservices built with @thisisagile/easy",
5
5
  "author": "Sander Hoogendoorn",
6
6
  "license": "MIT",
@@ -38,11 +38,11 @@
38
38
  "dependencies": {
39
39
  "@jest/expect-utils": "^28.1.0",
40
40
  "@types/jest": "^27.5.1",
41
- "@types/node": "^17.0.33",
41
+ "@types/node": "^17.0.35",
42
42
  "expect": "28.1.0",
43
43
  "jest": "28.1.0",
44
44
  "jest-junit": "^13.2.0",
45
45
  "jest-sonar-reporter": "^2.0.0",
46
- "ts-jest": "^28.0.2"
46
+ "ts-jest": "^28.0.3"
47
47
  }
48
48
  }