✨ 初期設定 #3
Annotations
3 errors and 3 warnings
content › renders content example:
src/content/Content.spec.tsx#L13
TestingLibraryElementError: Unable to find an element with the text: Content 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="absolute z-[999] top-1/2 right-1/2 shadow-xl border-[1px] bg-white bg-opacity-10"
>
<div
class="p-4 bg-blue-700 outline rounded"
>
Lgtm Modal
</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 Object.<anonymous> (src/content/Content.spec.tsx:13:19)
|
should load and display Popup:
src/popup/Popup.spec.tsx#L13
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
class="w-[30rem] h-[15rem]"
>
<div>
<div
class="flex justify-center mt-2 text-base"
>
LGTM Generator
</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:13: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:6:48)
|
test
Process completed with exit code 1.
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|