Skip to content

refactor: replace underscore debounce with use-debounce #6263

refactor: replace underscore debounce with use-debounce

refactor: replace underscore debounce with use-debounce #6263

Triggered via pull request January 14, 2025 09:06
Status Failure
Total duration 4m 8s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 10 warnings
Collection › should display search results when term is typed: src/script/page/MainContent/panels/Collection/Collection.test.tsx#L160
expect(jest.fn()).toHaveBeenCalled() Expected number of calls: >= 1 Received number of calls: 0 Ignored nodes: comments, script, style <html> <head /> <body> <div> <div class="css-j2qiw0-StyledAppContainer" > <div class="collection content" id="collection" > <div class="content-titlebar" > <div class="content-titlebar-items-left" > <button aria-label="fullsearchCancelLabel" class="content-titlebar-icon" data-uie-name="do-close-collection" > <svg aria-hidden="true" height="14" viewBox="0 0 14 14" width="14" > <path d="M1.41 13.31l5.25-5.24 5.24 5.24 1.41-1.41-5.24-5.24 5.24-5.25L11.9 0 6.66 5.24 1.41 0 0 1.41l5.24 5.25L0 11.9z" /> </svg> </button> </div> <h2 class="content-titlebar-items-center" > … </h2> </div> <div class="content-list-wrapper" > <div class="content-list collection-list" > <div class="full-search" > <header> <div class="css-8l0p84-FullSearch" > <svg class="css-mmuuu1-SVGIcon" height="16" viewBox="0 0 16 16" width="16" > <g> <path d="M6.987 0a6.99 6.99 0 016.987 6.993c0 1.571-.517 3.02-1.39 4.188L16 14.587 14.588 16l-3.416-3.406a6.952 6.952 0 01-4.185 1.392A6.99 6.99 0 010 6.993 6.99 6.99 0 016.987 0zM12 7A5 5 0 112 7a5 5 0 0110 0z" fill-rule="evenodd" /> </g> </svg> <div class="input-group css-1dk4bwp" > <div class="css-79elbk" > <input aria-label="fullsearchPlaceholder" class="wireinput css-2je9w0" data-uie-name="full-search-header-input" placeholder="fullsearchPlaceholder" type="text" value="term" /> </div> </div> <svg aria-label="fullsearchCancelCloseBtn" class="css-bh4seu-FullSearch" data-uie-name="full-search-dismiss" height="14" viewBox="0 0 14 14" width="14" > <g> <path d="M1.4 13.3l5.25-5.23 5.25 5.24 1.4-1.4-5.23-5.24L13.3 1.4 11.9 0 6.65 5.24 1.4 0 0 1.4l5.24 5.26L0 11.9" /> </g> </svg> </div> </header> <div class="full-search__list" data-uie-name="full-search-list" /> </div> <section class="collection-section" data-uie-collection-size="1" data-uie-name="collection-section-image" > <header> <span class="collection-header-icon icon-library" /> <span class="label-bold-xs" > collectionSectionImages </span> <
test
Process completed with exit code 1.
test: server/config/client.config.ts#L80
No magic number: 4
test: server/config/client.config.ts#L83
No magic number: 500
test: server/config/client.config.ts#L84
No magic number: 4
test: server/config/client.config.ts#L85
No magic number: 8
test: server/config/index.ts#L32
Caution: `dotenv` also has a named export `load`. Check if you meant to write `import {load} from 'dotenv-extended'` instead
test: server/config/server.config.ts#L112
No magic number: 21080
test: server/routes/RedirectRoutes.ts#L26
Caution: `express` also has a named export `Router`. Check if you meant to write `import {Router} from 'express'` instead
test: server/routes/Root.ts#L29
Caution: `maxmind` also has a named export `open`. Check if you meant to write `import {open} from 'maxmind'` instead
test: server/routes/Root.ts#L29
Caution: `geolite2` also has a named export `paths`. Check if you meant to write `import {paths} from 'geolite2'` instead
test: server/routes/error/ErrorRoutes.ts#L26
Caution: `express` also has a named export `Router`. Check if you meant to write `import {Router} from 'express'` instead