Skip to content

⚡ fix: 更新关于 actions call back 方法的逻辑 #661

⚡ fix: 更新关于 actions call back 方法的逻辑

⚡ fix: 更新关于 actions call back 方法的逻辑 #661

Triggered via pull request June 12, 2024 07:11
@LCJoveLCJove
synchronize #247
feat/ci
Status Failure
Total duration 2m 5s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
Unhandled error: src/ProChat/__test__/index.test.tsx#L76
AssertionError: expected "spy" to be called at least once Ignored nodes: comments, script, style <html> <head /> <body> <textarea aria-hidden="true" style="letter-spacing:normal;line-height:1.5;padding-top:11px;padding-bottom:11px;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,'Noto Sans',sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol','Noto Color Emoji';font-weight:;font-size:14px;font-variant:;text-rendering:auto;text-transform:none;width:100%;text-indent:0;padding-left:11px;padding-right:11px;border-width:1px;box-sizing:border-box;word-break:;white-space:pre-wrap; min-height:0 !important; max-height:none !important; height:0 !important; visibility:hidden !important; overflow:hidden !important; position:absolute !important; z-index:-1000 !important; top:0 !important; right:0 !important; pointer-events: none !important; " tab-index="-1" /> </body> </html>... ❯ src/ProChat/__test__/index.test.tsx:76:18 ❯ runWithExpensiveErrorDiagnosticsDisabled node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:47:12 ❯ checkCallback node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:127:77 ❯ Timeout.checkRealTimersCallback node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:121:16 This error originated in "src/ProChat/__test__/index.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: src/ProChat/__test__/index.test.tsx#L82
AssertionError: expected null to be truthy Ignored nodes: comments, script, style <html> <head /> <body> <textarea aria-hidden="true" style="letter-spacing:normal;line-height:1.5;padding-top:11px;padding-bottom:11px;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,'Noto Sans',sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol','Noto Color Emoji';font-weight:;font-size:14px;font-variant:;text-rendering:auto;text-transform:none;width:100%;text-indent:0;padding-left:11px;padding-right:11px;border-width:1px;box-sizing:border-box;word-break:;white-space:pre-wrap; min-height:0 !important; max-height:none !important; height:0 !important; visibility:hidden !important; overflow:hidden !important; position:absolute !important; z-index:-1000 !important; top:0 !important; right:0 !important; pointer-events: none !important; " tab-index="-1" /> </body> </html>... - Expected: null + Received: false ❯ src/ProChat/__test__/index.test.tsx:82:29 ❯ runWithExpensiveErrorDiagnosticsDisabled node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:47:12 ❯ checkCallback node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:127:77 ❯ Timeout.checkRealTimersCallback node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:121:16 ❯ listOnTimeout node:internal/timers:569:17 ❯ processTimers node:internal/timers:512:7 This error originated in "src/ProChat/__test__/index.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
test
Process completed with exit code 1.
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.