simplify types #236
Annotations
23 errors
|
build (20.x)
Process completed with exit code 1.
|
|
test/specs/services/TransactionService.spec.ts > TransactionService > update > updates a transaction:
test/specs/services/TransactionService.spec.ts#L281
AssertionError: expected "post" to be called with arguments: [ Context{ …(6) }, …(3) ]
Received:
1st post call:
@@ -10,12 +10,12 @@
"transaction/T1",
{
"active": "true",
"currency": "EUR",
"customProperty": "X",
- "dateClosed": "2025-04-24T13:51:14.024Z",
- "dateCreated": "2025-04-23T13:51:14.024Z",
+ "dateclosed": "2025-04-24T13:51:14.024Z",
+ "datecreated": "2025-04-23T13:51:14.024Z",
"discount": "2.99",
"grandTotal": "10.99",
"number": "T1",
"paymentMethod": "PAYPAL",
"source": "AUTO_LICENSEE_VALIDATE",
Number of calls: 1
❯ test/specs/services/TransactionService.spec.ts:281:28
|
|
test/specs/services/TransactionService.spec.ts > TransactionService > create > creates a transaction:
test/specs/services/TransactionService.spec.ts#L208
AssertionError: expected "post" to be called with arguments: [ Array(4) ]
Received:
1st post call:
@@ -10,12 +10,12 @@
"transaction",
{
"active": "true",
"currency": "EUR",
"customProperty": "X",
- "dateClosed": "2025-04-24T13:51:14.024Z",
- "dateCreated": "2025-04-23T13:51:14.024Z",
+ "dateclosed": "2025-04-24T13:51:14.024Z",
+ "datecreated": "2025-04-23T13:51:14.024Z",
"discount": "2.99",
"grandTotal": "10.99",
"number": "T1",
"paymentMethod": "PAYPAL",
"source": "AUTO_LICENSEE_VALIDATE",
Number of calls: 1
❯ test/specs/services/TransactionService.spec.ts:208:28
|
|
test/specs/services/TransactionService.spec.ts > TransactionService > get > returns a transaction:
test/specs/services/TransactionService.spec.ts#L72
AssertionError: expected { number: 'T1', active: true, …(11) } to strictly equal { number: 'T1', active: true, …(11) }
- Expected
+ Received
@@ -1,11 +1,11 @@
- {
+ Transaction {
"active": true,
"currency": "EUR",
"customProperty": "X",
- "dateClosed": 2025-04-24T13:51:14.024Z,
- "dateCreated": 2025-04-23T13:51:14.024Z,
+ "dateClosed": "2025-04-24T13:51:14.024Z",
+ "dateCreated": "2025-04-23T13:51:14.024Z",
"discount": 2.99,
"grandTotal": 10.99,
"inUse": true,
"licenseTransactionJoins": [
LicenseTransactionJoin {
❯ test/specs/services/TransactionService.spec.ts:72:27
|
|
test/specs/entities/Transaction.spec.ts > Transaction entity > should be correct map:
test/specs/entities/Transaction.spec.ts#L266
AssertionError: expected { active: 'true', number: 'T1', …(8) } to strictly equal { active: 'true', number: 'T1', …(8) }
- Expected
+ Received
@@ -1,10 +1,10 @@
{
"active": "true",
"currency": "EUR",
- "dateClosed": "2024-01-04T12:00:00.000Z",
- "dateCreated": "2024-01-03T12:00:00.000Z",
+ "dateclosed": "2024-01-04T12:00:00.000Z",
+ "datecreated": "2024-01-03T12:00:00.000Z",
"discount": "2.2",
"grandTotal": "12.5",
"number": "T1",
"paymentMethod": "PAYPAL",
"source": "SHOP",
❯ test/specs/entities/Transaction.spec.ts:266:37
|
|
test/specs/entities/License.spec.ts > License Entity > should be correct map:
test/specs/entities/License.spec.ts#L278
AssertionError: expected { number: '12345', …(11) } to strictly equal { number: '12345', …(11) }
- Expected
+ Received
@@ -4,11 +4,11 @@
"hidden": "false",
"licenseTemplateNumber": "TPL001",
"licenseeNumber": "ABC123",
"name": "Sample License",
"number": "12345",
- "parentfeature": "PARENT123",
+ "parentFeature": "PARENT123",
"price": "100",
"startDate": "now",
"timeVolume": "50",
"timeVolumePeriod": "DAY",
}
❯ test/specs/entities/License.spec.ts:278:33
|
|
test/specs/converters/itemToTransaction.spec.ts > itemToTransaction converter > should correctly convert item to Transaction:
test/specs/converters/itemToTransaction.spec.ts#L75
AssertionError: expected { number: 'T1', active: true, …(11) } to match object { number: 'T1', active: true, …(11) }
- Expected
+ Received
@@ -1,11 +1,11 @@
{
"active": true,
"currency": "EUR",
"customProperty": "X",
- "dateClosed": 2025-04-24T13:51:14.024Z,
- "dateCreated": 2025-04-23T13:51:14.024Z,
+ "dateClosed": "2025-04-24T13:51:14.024Z",
+ "dateCreated": "2025-04-23T13:51:14.024Z",
"discount": 2.99,
"grandTotal": 10.99,
"inUse": true,
"licenseTransactionJoins": [
LicenseTransactionJoin {
❯ test/specs/converters/itemToTransaction.spec.ts:75:20
|
|
build (18.x)
The strategy configuration was canceled because "build._20_x" failed
|
|
build (18.x)
Process completed with exit code 1.
|
|
test/specs/services/TransactionService.spec.ts > TransactionService > update > updates a transaction:
test/specs/services/TransactionService.spec.ts#L281
AssertionError: expected "post" to be called with arguments: [ Context{ …(6) }, …(3) ]
Received:
1st post call:
@@ -10,12 +10,12 @@
"transaction/T1",
{
"active": "true",
"currency": "EUR",
"customProperty": "X",
- "dateClosed": "2025-04-24T13:51:14.024Z",
- "dateCreated": "2025-04-23T13:51:14.024Z",
+ "dateclosed": "2025-04-24T13:51:14.024Z",
+ "datecreated": "2025-04-23T13:51:14.024Z",
"discount": "2.99",
"grandTotal": "10.99",
"number": "T1",
"paymentMethod": "PAYPAL",
"source": "AUTO_LICENSEE_VALIDATE",
Number of calls: 1
❯ test/specs/services/TransactionService.spec.ts:281:28
|
|
test/specs/services/TransactionService.spec.ts > TransactionService > create > creates a transaction:
test/specs/services/TransactionService.spec.ts#L208
AssertionError: expected "post" to be called with arguments: [ Array(4) ]
Received:
1st post call:
@@ -10,12 +10,12 @@
"transaction",
{
"active": "true",
"currency": "EUR",
"customProperty": "X",
- "dateClosed": "2025-04-24T13:51:14.024Z",
- "dateCreated": "2025-04-23T13:51:14.024Z",
+ "dateclosed": "2025-04-24T13:51:14.024Z",
+ "datecreated": "2025-04-23T13:51:14.024Z",
"discount": "2.99",
"grandTotal": "10.99",
"number": "T1",
"paymentMethod": "PAYPAL",
"source": "AUTO_LICENSEE_VALIDATE",
Number of calls: 1
❯ test/specs/services/TransactionService.spec.ts:208:28
|
|
test/specs/services/TransactionService.spec.ts > TransactionService > get > returns a transaction:
test/specs/services/TransactionService.spec.ts#L72
AssertionError: expected { number: 'T1', active: true, …(11) } to strictly equal { number: 'T1', active: true, …(11) }
- Expected
+ Received
@@ -1,11 +1,11 @@
- {
+ Transaction {
"active": true,
"currency": "EUR",
"customProperty": "X",
- "dateClosed": 2025-04-24T13:51:14.024Z,
- "dateCreated": 2025-04-23T13:51:14.024Z,
+ "dateClosed": "2025-04-24T13:51:14.024Z",
+ "dateCreated": "2025-04-23T13:51:14.024Z",
"discount": 2.99,
"grandTotal": 10.99,
"inUse": true,
"licenseTransactionJoins": [
LicenseTransactionJoin {
❯ test/specs/services/TransactionService.spec.ts:72:27
|
|
test/specs/entities/Transaction.spec.ts > Transaction entity > should be correct map:
test/specs/entities/Transaction.spec.ts#L266
AssertionError: expected { active: 'true', number: 'T1', …(8) } to strictly equal { active: 'true', number: 'T1', …(8) }
- Expected
+ Received
@@ -1,10 +1,10 @@
{
"active": "true",
"currency": "EUR",
- "dateClosed": "2024-01-04T12:00:00.000Z",
- "dateCreated": "2024-01-03T12:00:00.000Z",
+ "dateclosed": "2024-01-04T12:00:00.000Z",
+ "datecreated": "2024-01-03T12:00:00.000Z",
"discount": "2.2",
"grandTotal": "12.5",
"number": "T1",
"paymentMethod": "PAYPAL",
"source": "SHOP",
❯ test/specs/entities/Transaction.spec.ts:266:37
|
|
test/specs/entities/License.spec.ts > License Entity > should be correct map:
test/specs/entities/License.spec.ts#L278
AssertionError: expected { number: '12345', …(11) } to strictly equal { number: '12345', …(11) }
- Expected
+ Received
@@ -4,11 +4,11 @@
"hidden": "false",
"licenseTemplateNumber": "TPL001",
"licenseeNumber": "ABC123",
"name": "Sample License",
"number": "12345",
- "parentfeature": "PARENT123",
+ "parentFeature": "PARENT123",
"price": "100",
"startDate": "now",
"timeVolume": "50",
"timeVolumePeriod": "DAY",
}
❯ test/specs/entities/License.spec.ts:278:33
|
|
test/specs/converters/itemToTransaction.spec.ts > itemToTransaction converter > should correctly convert item to Transaction:
test/specs/converters/itemToTransaction.spec.ts#L75
AssertionError: expected { number: 'T1', active: true, …(11) } to match object { number: 'T1', active: true, …(11) }
- Expected
+ Received
@@ -1,11 +1,11 @@
{
"active": true,
"currency": "EUR",
"customProperty": "X",
- "dateClosed": 2025-04-24T13:51:14.024Z,
- "dateCreated": 2025-04-23T13:51:14.024Z,
+ "dateClosed": "2025-04-24T13:51:14.024Z",
+ "dateCreated": "2025-04-23T13:51:14.024Z",
"discount": 2.99,
"grandTotal": 10.99,
"inUse": true,
"licenseTransactionJoins": [
LicenseTransactionJoin {
❯ test/specs/converters/itemToTransaction.spec.ts:75:20
|
|
build (22.x)
The strategy configuration was canceled because "build._20_x" failed
|
|
build (22.x)
The operation was canceled.
|
|
test/specs/services/TransactionService.spec.ts > TransactionService > update > updates a transaction:
test/specs/services/TransactionService.spec.ts#L281
AssertionError: expected "post" to be called with arguments: [ Context{ …(6) }, …(3) ]
Received:
1st post call:
@@ -10,12 +10,12 @@
"transaction/T1",
{
"active": "true",
"currency": "EUR",
"customProperty": "X",
- "dateClosed": "2025-04-24T13:51:14.024Z",
- "dateCreated": "2025-04-23T13:51:14.024Z",
+ "dateclosed": "2025-04-24T13:51:14.024Z",
+ "datecreated": "2025-04-23T13:51:14.024Z",
"discount": "2.99",
"grandTotal": "10.99",
"number": "T1",
"paymentMethod": "PAYPAL",
"source": "AUTO_LICENSEE_VALIDATE",
Number of calls: 1
❯ test/specs/services/TransactionService.spec.ts:281:28
|
|
test/specs/services/TransactionService.spec.ts > TransactionService > create > creates a transaction:
test/specs/services/TransactionService.spec.ts#L208
AssertionError: expected "post" to be called with arguments: [ Array(4) ]
Received:
1st post call:
@@ -10,12 +10,12 @@
"transaction",
{
"active": "true",
"currency": "EUR",
"customProperty": "X",
- "dateClosed": "2025-04-24T13:51:14.024Z",
- "dateCreated": "2025-04-23T13:51:14.024Z",
+ "dateclosed": "2025-04-24T13:51:14.024Z",
+ "datecreated": "2025-04-23T13:51:14.024Z",
"discount": "2.99",
"grandTotal": "10.99",
"number": "T1",
"paymentMethod": "PAYPAL",
"source": "AUTO_LICENSEE_VALIDATE",
Number of calls: 1
❯ test/specs/services/TransactionService.spec.ts:208:28
|
|
test/specs/services/TransactionService.spec.ts > TransactionService > get > returns a transaction:
test/specs/services/TransactionService.spec.ts#L72
AssertionError: expected { number: 'T1', active: true, …(11) } to strictly equal { number: 'T1', active: true, …(11) }
- Expected
+ Received
@@ -1,11 +1,11 @@
- {
+ Transaction {
"active": true,
"currency": "EUR",
"customProperty": "X",
- "dateClosed": 2025-04-24T13:51:14.024Z,
- "dateCreated": 2025-04-23T13:51:14.024Z,
+ "dateClosed": "2025-04-24T13:51:14.024Z",
+ "dateCreated": "2025-04-23T13:51:14.024Z",
"discount": 2.99,
"grandTotal": 10.99,
"inUse": true,
"licenseTransactionJoins": [
LicenseTransactionJoin {
❯ test/specs/services/TransactionService.spec.ts:72:27
|
|
test/specs/entities/Transaction.spec.ts > Transaction entity > should be correct map:
test/specs/entities/Transaction.spec.ts#L266
AssertionError: expected { active: 'true', number: 'T1', …(8) } to strictly equal { active: 'true', number: 'T1', …(8) }
- Expected
+ Received
@@ -1,10 +1,10 @@
{
"active": "true",
"currency": "EUR",
- "dateClosed": "2024-01-04T12:00:00.000Z",
- "dateCreated": "2024-01-03T12:00:00.000Z",
+ "dateclosed": "2024-01-04T12:00:00.000Z",
+ "datecreated": "2024-01-03T12:00:00.000Z",
"discount": "2.2",
"grandTotal": "12.5",
"number": "T1",
"paymentMethod": "PAYPAL",
"source": "SHOP",
❯ test/specs/entities/Transaction.spec.ts:266:37
|
|
test/specs/entities/License.spec.ts > License Entity > should be correct map:
test/specs/entities/License.spec.ts#L278
AssertionError: expected { number: '12345', …(11) } to strictly equal { number: '12345', …(11) }
- Expected
+ Received
@@ -4,11 +4,11 @@
"hidden": "false",
"licenseTemplateNumber": "TPL001",
"licenseeNumber": "ABC123",
"name": "Sample License",
"number": "12345",
- "parentfeature": "PARENT123",
+ "parentFeature": "PARENT123",
"price": "100",
"startDate": "now",
"timeVolume": "50",
"timeVolumePeriod": "DAY",
}
❯ test/specs/entities/License.spec.ts:278:33
|
|
test/specs/converters/itemToTransaction.spec.ts > itemToTransaction converter > should correctly convert item to Transaction:
test/specs/converters/itemToTransaction.spec.ts#L75
AssertionError: expected { number: 'T1', active: true, …(11) } to match object { number: 'T1', active: true, …(11) }
- Expected
+ Received
@@ -1,11 +1,11 @@
{
"active": true,
"currency": "EUR",
"customProperty": "X",
- "dateClosed": 2025-04-24T13:51:14.024Z,
- "dateCreated": 2025-04-23T13:51:14.024Z,
+ "dateClosed": "2025-04-24T13:51:14.024Z",
+ "dateCreated": "2025-04-23T13:51:14.024Z",
"discount": 2.99,
"grandTotal": 10.99,
"inUse": true,
"licenseTransactionJoins": [
LicenseTransactionJoin {
❯ test/specs/converters/itemToTransaction.spec.ts:75:20
|