Skip to content

web monetization project configuration #1

web monetization project configuration

web monetization project configuration #1

Triggered via push July 26, 2023 13:08
Status Failure
Total duration 1m 29s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
lint: src/background/background.spec.ts#L5
'jest' is not defined
lint: src/background/background.spec.ts#L6
'jest' is not defined
lint: src/content/Content.spec.tsx#L1
'screen' is defined but never used. Allowed unused vars must match /^_/u
lint: src/content/Content.tsx#L12
Unexpected console statement
lint
Process completed with exit code 1.
should load and display Popup: src/popup/Popup.spec.tsx#L14
TestingLibraryElementError: Unable to find an element with the text: Popup Counter. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div class="w-[308px] h-[246px]" > <div class="flex items-center justify-between h-10 px-[18px]" > <img alt="Web Monetization Logo" class="h-6" /> <div class="" > Web Monetization </div> <img alt="Close" class="h-8 translate-x-3" /> </div> <div> <div class="text-center text-orange-500" > You are NOT monetized! </div> </div> </div> </div> </body> at Object.getElementError (node_modules/@testing-library/dom/dist/config.js:37:19) at node_modules/@testing-library/dom/dist/query-helpers.js:76:38 at node_modules/@testing-library/dom/dist/query-helpers.js:52:17 at node_modules/@testing-library/dom/dist/query-helpers.js:95:19 at src/popup/Popup.spec.tsx:14:17 at src/popup/Popup.spec.tsx:8:71 at Object.<anonymous>.__awaiter (src/popup/Popup.spec.tsx:4:12) at Object.<anonymous> (src/popup/Popup.spec.tsx:7:48)
should load and display Options: src/options/Options.spec.tsx#L9
TestingLibraryElementError: Unable to find an element with the text: (content, element) => { return element !== null && element.tagName.toLowerCase() === 'h1' && content === 'Options'; } (normalized from '(content, element) => { return element !== null && element.tagName.toLowerCase() === 'h1' && content === 'Options'; }'). This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div class="flex items-center justify-center h-screen" > <h1> Optionasdadss </h1> </div> </div> </body> at Object.getElementError (node_modules/@testing-library/dom/dist/config.js:37:19) at node_modules/@testing-library/dom/dist/query-helpers.js:76:38 at node_modules/@testing-library/dom/dist/query-helpers.js:52:17 at node_modules/@testing-library/dom/dist/query-helpers.js:95:19 at src/options/Options.spec.tsx:9:12 at src/options/Options.spec.tsx:8:71 at Object.<anonymous>.__awaiter (src/options/Options.spec.tsx:4:12) at Object.<anonymous> (src/options/Options.spec.tsx:5:50)
test
Process completed with exit code 1.
lint: src/content/Content.spec.tsx#L1
'screen' is defined but never used