feat: markdown preview setting [WPB-15101] #6163
Annotations
2 errors and 10 warnings
ControlButtons › renders the right buttons depending on props ({ disableFilesharing: true }):
src/script/components/InputBar/components/InputBarControls/ControlButtons.test.tsx#L58
TypeError: Cannot read properties of undefined (reading 'color')
at svgIconStyle (node_modules/@wireapp/react-ui-kit/lib/Icon/SVGIcon.js:5:54)
at css (node_modules/@wireapp/react-ui-kit/lib/Icon/SVGIcon.js:19:62)
at handleInterpolation (node_modules/@emotion/serialize/dist/emotion-serialize.cjs.dev.js:149:24)
at Object.serializeStyles (node_modules/@emotion/serialize/dist/emotion-serialize.cjs.dev.js:263:15)
at node_modules/@emotion/react/dist/emotion-element-f93e57b0.cjs.dev.js:269:30
at node_modules/@emotion/react/dist/emotion-element-f93e57b0.cjs.dev.js:63:12
at renderWithHooks (node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at updateForwardRef (node_modules/react-dom/cjs/react-dom.development.js:19245:20)
at beginWork (node_modules/react-dom/cjs/react-dom.development.js:21675:16)
at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27465:14)
at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:26599:12)
at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:26505:5)
at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:26473:7)
at recoverFromConcurrentError (node_modules/react-dom/cjs/react-dom.development.js:25889:20)
at performConcurrentWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:25789:22)
at flushActQueue (node_modules/react/cjs/react.development.js:2667:24)
at act (node_modules/react/cjs/react.development.js:2582:11)
at node_modules/@testing-library/react/dist/act-compat.js:47:25
at renderRoot (node_modules/@testing-library/react/dist/pure.js:180:26)
at render (node_modules/@testing-library/react/dist/pure.js:271:10)
at src/script/components/InputBar/components/InputBarControls/ControlButtons.test.tsx:58:46
|
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
|