feat: add LND containers for testing #321
Annotations
4 errors and 2 warnings
test/tb04-simple-lightning-latch.test.js > Coin receiver creates a non hold invoice, and sends to sender (i.e. an invoice with the a different payment hash). Sender should be able to determine this. > expected flow:
clients/libs/web/main.js#L137
TypeError: Cannot read properties of undefined (reading 'payment_hash')
❯ Object.verifyInvoice ../../libs/web/main.js:137:52
❯ test/tb04-simple-lightning-latch.test.js:702:32
|
test/tb04-simple-lightning-latch.test.js > TB04 - Receiver tries to transfer invoice amount to another invoice before preimage retrieval should fail > expected flow:
clients/tests/web/test-utils.js#L53
AxiosError: Request failed with status code 500
❯ settle ../../../../../../../../node_modules/.vite/deps/axios.js:1205:12
❯ XMLHttpRequest.onloadend ../../../../../../../../node_modules/.vite/deps/axios.js:1551:7
❯ Axios.request ../../../../../../../../node_modules/.vite/deps/axios.js:2067:41
❯ generateInvoice test-utils.js:53:20
❯ test/tb04-simple-lightning-latch.test.js:484:31
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { config: { transitional: { silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false }, adapter: [ 'xhr', 'http', 'fetch' ], transformRequest: [ 'Function<transformRequest>' ], transformResponse: [ 'Function<transformResponse>' ], timeout: +0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, env: { FormData: 'Function<FormData>', Blob: 'Function<Blob>' }, validateStatus: 'Function<validateStatus>', headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json' }, method: 'post', url: 'http://0.0.0.0:3000/generate_invoice', data: '{"paymentHash":"f768c404215f9fb5731c32c00fe7a057fc181d7695de447b334380d90674db34","amountInSats":1000}' }, code: 'ERR_BAD_RESPONSE', status: 500 }
|
test/tb04-simple-lightning-latch.test.js > Coin receiver creates a non hold invoice, and sends to sender (i.e. an invoice with the a different payment hash). Sender should be able to determine this. > expected flow:
clients/tests/web/test-utils.js#L53
AxiosError: Request failed with status code 500
❯ settle ../../../../../../../../node_modules/.vite/deps/axios.js:1205:12
❯ XMLHttpRequest.onloadend ../../../../../../../../node_modules/.vite/deps/axios.js:1551:7
❯ Axios.request ../../../../../../../../node_modules/.vite/deps/axios.js:2067:41
❯ generateInvoice test-utils.js:53:20
❯ test/tb04-simple-lightning-latch.test.js:700:31
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { config: { transitional: { silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false }, adapter: [ 'xhr', 'http', 'fetch' ], transformRequest: [ 'Function<transformRequest>' ], transformResponse: [ 'Function<transformResponse>' ], timeout: +0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, env: { FormData: 'Function<FormData>', Blob: 'Function<Blob>' }, validateStatus: 'Function<validateStatus>', headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json' }, method: 'post', url: 'http://0.0.0.0:3000/generate_invoice', data: '{"paymentHash":"ddddf1cd1e2ca1986e29b20401b555fbaa4a8502626a7afc37c47ae06a46d918","amountInSats":1000}' }, code: 'ERR_BAD_RESPONSE', status: 500 }
|
test
Process completed with exit code 1.
|
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. 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 following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|