Skip to content

WIP: credit card

WIP: credit card #505

Triggered via push January 21, 2024 10:16
Status Failure
Total duration 4m 38s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 3 warnings
error: expect(received).not.fail(): tests/regression.test.ts#L31
{ config: { - credit_cards: [ - ] } schema: { properties: { - credit_cards: { - default: [ - { - account: "Liabilities:CreditCard:Chase" - credit_limit: 100000 - due_day: 15 - statement_end_day: 28 - } - ] - items: { - additionalProperties: false - properties: { - account: { - description: "Name of the credit card account" - type: "string" - } - credit_limit: { - description: "Credit limit of the card" - minimum: 1 - type: "number" - } - due_day: { - description: "Due day of the card" - maximum: 31 - minimum: 1 - type: "integer" - } - network: { - description: "Network of the card" - enum: [ - "visa" - "mastercard" - "dinersclub" - "amex" - "rupay" - "jcb" - "discover" - ] - type: "string" - } - number: { - description: "Last 4 digits of the card number" - maxLength: 4 - minLength: 4 - pattern: "^[0-9]{4}$" - type: "string" - } - statement_end_day: { - description: "Statement end day of the card" - maximum: 31 - minimum: 1 - type: "integer" - } - } - required: [ - "account" - "credit_limit" - "statement_end_day" - "due_day" - "network" - "number" - ] - type: "object" - ui:header: "account" - } - itemsUniqueProperties: [ - "account" - ] - type: "array" - } accounts: { items: { properties: { name: { - description: "Name of the account" + description: "name of the account" } } } } commodities: { items: { properties: { name: { - description: "Name of the commodity" + description: "name of the commodity" } } } } import_templates: { items: { properties: { name: { - description: "Name of the template" + description: "name of the template" } } } } } } } at /home/runner/work/paisa/paisa/tests/regression.test.ts:31:7 at processTicksAndRejections (:61:77)
error: expect(received).not.fail()
{ config: { - credit_cards: [ - ] } schema: { properties: { - credit_cards: { - default: [ - { - account: "Liabilities:CreditCard:Chase" - credit_limit: 100000 - due_day: 15 - statement_end_day: 28 - } - ] - items: { - additionalProperties: false - properties: { - account: { - description: "Name of the credit card account" - type: "string" - } - credit_limit: { - description: "Credit limit of the card" - minimum: 1 - type: "number" - } - due_day: { - description: "Due day of the card" - maximum: 31 - minimum: 1 - type: "integer" - } - network: { - description: "Network of the card" - enum: [ - "visa" - "mastercard" - "dinersclub" - "amex" - "rupay" - "jcb" - "discover" - ] - type: "string" - } - number: { - description: "Last 4 digits of the card number" - maxLength: 4 - minLength: 4 - pattern: "^[0-9]{4}$" - type: "string" - } - statement_end_day: { - description: "Statement end day of the card" - maximum: 31 - minimum: 1 - type: "integer" - } - } - required: [ - "account" - "credit_limit" - "statement_end_day" - "due_day" - "network" - "number" - ] - type: "object" - ui:header: "account" - } - itemsUniqueProperties: [ - "account" - ] - type: "array" - } accounts: { items: { properties: { name: { - description: "Name of the account" + description: "name of the account" } } } } commodities: { items: { properties: { name: { - description: "Name of the commodity" + description: "name of the commodity" } } } } import_templates: { items: { properties: { name: { - description: "Name of the template" + description: "name of the template" } } } } } } }
error: expect(received).not.fail(): tests/regression.test.ts#L31
{ config: { - credit_cards: [ - ] } schema: { properties: { - credit_cards: { - default: [ - { - account: "Liabilities:CreditCard:Chase" - credit_limit: 100000 - due_day: 15 - statement_end_day: 28 - } - ] - items: { - additionalProperties: false - properties: { - account: { - description: "Name of the credit card account" - type: "string" - } - credit_limit: { - description: "Credit limit of the card" - minimum: 1 - type: "number" - } - due_day: { - description: "Due day of the card" - maximum: 31 - minimum: 1 - type: "integer" - } - network: { - description: "Network of the card" - enum: [ - "visa" - "mastercard" - "dinersclub" - "amex" - "rupay" - "jcb" - "discover" - ] - type: "string" - } - number: { - description: "Last 4 digits of the card number" - maxLength: 4 - minLength: 4 - pattern: "^[0-9]{4}$" - type: "string" - } - statement_end_day: { - description: "Statement end day of the card" - maximum: 31 - minimum: 1 - type: "integer" - } - } - required: [ - "account" - "credit_limit" - "statement_end_day" - "due_day" - "network" - "number" - ] - type: "object" - ui:header: "account" - } - itemsUniqueProperties: [ - "account" - ] - type: "array" - } accounts: { items: { properties: { name: { - description: "Name of the account" + description: "name of the account" } } } } commodities: { items: { properties: { name: { - description: "Name of the commodity" + description: "name of the commodity" } } } } import_templates: { items: { properties: { name: { - description: "Name of the template" + description: "name of the template" } } } } } } } at /home/runner/work/paisa/paisa/tests/regression.test.ts:31:7 at processTicksAndRejections (:61:77)
error: expect(received).not.fail(): tests/regression.test.ts#L31
{ config: { - credit_cards: [ - ] } schema: { properties: { - credit_cards: { - default: [ - { - account: "Liabilities:CreditCard:Chase" - credit_limit: 100000 - due_day: 15 - statement_end_day: 28 - } - ] - items: { - additionalProperties: false - properties: { - account: { - description: "Name of the credit card account" - type: "string" - } - credit_limit: { - description: "Credit limit of the card" - minimum: 1 - type: "number" - } - due_day: { - description: "Due day of the card" - maximum: 31 - minimum: 1 - type: "integer" - } - network: { - description: "Network of the card" - enum: [ - "visa" - "mastercard" - "dinersclub" - "amex" - "rupay" - "jcb" - "discover" - ] - type: "string" - } - number: { - description: "Last 4 digits of the card number" - maxLength: 4 - minLength: 4 - pattern: "^[0-9]{4}$" - type: "string" - } - statement_end_day: { - description: "Statement end day of the card" - maximum: 31 - minimum: 1 - type: "integer" - } - } - required: [ - "account" - "credit_limit" - "statement_end_day" - "due_day" - "network" - "number" - ] - type: "object" - ui:header: "account" - } - itemsUniqueProperties: [ - "account" - ] - type: "array" - } accounts: { items: { properties: { name: { - description: "Name of the account" + description: "name of the account" } } } } commodities: { items: { properties: { name: { - description: "Name of the commodity" + description: "name of the commodity" } } } } import_templates: { items: { properties: { name: { - description: "Name of the template" + description: "name of the template" } } } } } } } at /home/runner/work/paisa/paisa/tests/regression.test.ts:31:7 at processTicksAndRejections (:61:77)
error: expect(received).not.fail(): tests/regression.test.ts#L31
{ config: { - credit_cards: [ - ] } schema: { properties: { - credit_cards: { - default: [ - { - account: "Liabilities:CreditCard:Chase" - credit_limit: 100000 - due_day: 15 - statement_end_day: 28 - } - ] - items: { - additionalProperties: false - properties: { - account: { - description: "Name of the credit card account" - type: "string" - } - credit_limit: { - description: "Credit limit of the card" - minimum: 1 - type: "number" - } - due_day: { - description: "Due day of the card" - maximum: 31 - minimum: 1 - type: "integer" - } - network: { - description: "Network of the card" - enum: [ - "visa" - "mastercard" - "dinersclub" - "amex" - "rupay" - "jcb" - "discover" - ] - type: "string" - } - number: { - description: "Last 4 digits of the card number" - maxLength: 4 - minLength: 4 - pattern: "^[0-9]{4}$" - type: "string" - } - statement_end_day: { - description: "Statement end day of the card" - maximum: 31 - minimum: 1 - type: "integer" - } - } - required: [ - "account" - "credit_limit" - "statement_end_day" - "due_day" - "network" - "number" - ] - type: "object" - ui:header: "account" - } - itemsUniqueProperties: [ - "account" - ] - type: "array" - } accounts: { items: { properties: { name: { - description: "Name of the account" + description: "name of the account" } } } } commodities: { items: { properties: { name: { - description: "Name of the commodity" + description: "name of the commodity" } } } } import_templates: { items: { properties: { name: { - description: "Name of the template" + description: "name of the template" } } } } } } } at /home/runner/work/paisa/paisa/tests/regression.test.ts:31:7 at processTicksAndRejections (:61:77)
test
Process completed with exit code 2.
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2.4.0. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/