Skip to content

fix(handlers): fix test for askingArticleSubmissionConsent #811

fix(handlers): fix test for askingArticleSubmissionConsent

fix(handlers): fix test for askingArticleSubmissionConsent #811

Triggered via push November 7, 2023 17:26
Status Failure
Total duration 1m 27s
Artifacts

ci.yml

on: push
install-and-test
1m 18s
install-and-test
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 8 warnings
install-and-test: src/webhook/handlers/__tests__/askingArticleSubmissionConsent.test.ts#L1
Module '"src/lib/__mocks__/gql"' has no exported member 'MockedGql'. Did you mean to use 'import MockedGql from "src/lib/__mocks__/gql"' instead?
install-and-test
Process completed with exit code 2.
install-and-test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
install-and-test: src/liff/components/ArticleCard.svelte#L104
A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event
install-and-test: src/liff/components/Card.svelte#L24
A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event
install-and-test: src/types/chatbotState.ts#L1
'PostbackEvent' is defined but never used
install-and-test: src/webhook/handleInput.ts#L4
'tutorial' is defined but never used