Skip to content

Commit a90b614

Browse files
author
niallroche
committed
chore: update jest config and regenerate TypeScript types
- Update jest.config.js for test compatibility - Regenerate TypeScript types from updated model - Update package-lock.json Signed-off-by: niallroche <[email protected]>
1 parent 627c2b8 commit a90b614

File tree

8 files changed

+39
-30
lines changed

8 files changed

+39
-30
lines changed

server/jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ module.exports = {
22
preset: 'ts-jest',
33
testEnvironment: 'node',
44
testMatch: [ '**/?(*.)+(spec|test).ts?(x)' ]
5-
};
5+
};

server/package-lock.json

Lines changed: 20 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

server/test/archives/latedeliveryandpenalty-typescript/logic/generated/[email protected]

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* eslint-disable @typescript-eslint/no-empty-object-type*/
1+
/* eslint-disable @typescript-eslint/no-empty-interface */
22
// Generated code for namespace: [email protected]
33

44
// imports
@@ -11,3 +11,4 @@ export interface IDecorator extends IConcept {
1111
export interface IDotNetNamespace extends IDecorator {
1212
namespace: string;
1313
}
14+

server/test/archives/latedeliveryandpenalty-typescript/logic/generated/concerto.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* eslint-disable @typescript-eslint/no-empty-object-type*/
1+
/* eslint-disable @typescript-eslint/no-empty-interface */
22
// Generated code for namespace: concerto
33

44
// imports
@@ -21,3 +21,4 @@ export interface ITransaction extends IConcept {
2121

2222
export interface IEvent extends IConcept {
2323
}
24+

server/test/archives/latedeliveryandpenalty-typescript/logic/generated/[email protected]

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* eslint-disable @typescript-eslint/no-unused-vars*/
1+
/* eslint-disable @typescript-eslint/no-empty-interface */
22
// Generated code for namespace: [email protected]
33

44
// imports
@@ -44,16 +44,16 @@ export interface IConcept {
4444
$class: string;
4545
}
4646

47-
export type ConceptUnion = ILateDeliveryAndPenaltyState |
48-
IDuration |
47+
export type ConceptUnion = ILateDeliveryAndPenaltyState |
48+
IDuration |
4949
IPeriod;
5050

5151
export interface IAsset extends IConcept {
5252
$identifier: string;
5353
}
5454

55-
export type AssetUnion = IContract |
56-
IClause |
55+
export type AssetUnion = IContract |
56+
IClause |
5757
IState;
5858

5959
export interface IParticipant extends IConcept {
@@ -64,12 +64,13 @@ export interface ITransaction extends IConcept {
6464
$timestamp: Date;
6565
}
6666

67-
export type TransactionUnion = IRequest |
67+
export type TransactionUnion = IRequest |
6868
IResponse;
6969

7070
export interface IEvent extends IConcept {
7171
$timestamp: Date;
7272
}
7373

74-
export type EventUnion = ILateDeliveryAndPenaltyEvent |
74+
export type EventUnion = ILateDeliveryAndPenaltyEvent |
7575
IObligation;
76+

server/test/archives/latedeliveryandpenalty-typescript/logic/generated/[email protected]

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* eslint-disable @typescript-eslint/no-empty-object-type*/
1+
/* eslint-disable @typescript-eslint/no-empty-interface */
22
// Generated code for namespace: [email protected]
33

44
// imports
@@ -19,3 +19,4 @@ export interface IClause extends IAsset {
1919
}
2020

2121
export type ClauseUnion = ITemplateModel;
22+

server/test/archives/latedeliveryandpenalty-typescript/logic/generated/[email protected]

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* eslint-disable @typescript-eslint/no-empty-object-type*/
1+
/* eslint-disable @typescript-eslint/no-empty-interface */
22
// Generated code for namespace: [email protected]
33

44
// imports
@@ -36,3 +36,4 @@ export interface IObligation extends IEvent {
3636

3737
export interface IState extends IAsset {
3838
}
39+

server/test/archives/latedeliveryandpenalty-typescript/logic/generated/[email protected]

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* eslint-disable @typescript-eslint/no-empty-object-type*/
1+
/* eslint-disable @typescript-eslint/no-empty-interface */
22
// Generated code for namespace: [email protected]
33

44
// imports
@@ -55,3 +55,4 @@ export interface IPeriod extends IConcept {
5555
amount: number;
5656
unit: PeriodUnit;
5757
}
58+

0 commit comments

Comments
 (0)