Skip to content

feat: support xml

feat: support xml #455

Triggered via pull request May 13, 2024 22:51
@antfuantfu
synchronize #472
zanfee:feat/xml
Status Failure
Total duration 1m 24s
Artifacts

ci.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 4 warnings
test/fixtures.test.ts > all: test/fixtures.test.ts#L125
Error: Snapshot `all 4` mismatched - Expected + Received @@ -7,11 +7,11 @@ if (!greeting) return null // TODO: Don't use random in render const num = Math.floor (Math.random() * 1e+7).toString() - .replace(/\.\d+/ig, '') + .replace(/\.\d+/g, '') return ( <div className="HelloWorld" title={`You are visitor number ${num}`} onMouseOver={onMouseOver}> <strong>{ greeting.slice(0, 1).toUpperCase() + greeting.slice(1).toLowerCase() }</strong> {greeting.endsWith(',') ❯ test/fixtures.test.ts:125:7 ❯ test/fixtures.test.ts:116:5
test/fixtures.test.ts > no-style: test/fixtures.test.ts#L125
Error: Snapshot `no-style 2` mismatched - Expected + Received @@ -4,11 +4,11 @@ if(!greeting){ return null}; // TODO: Don't use random in render const num = Math.floor (Math.random() * 1e+7).toString() - .replace(/\.\d+/ig, "") + .replace(/\.\d+/g, "") return <div className='HelloWorld' title={`You are visitor number ${ num }`} onMouseOver={onMouseOver}> <strong>{ greeting.slice( 0, 1 ).toUpperCase() + greeting.slice(1).toLowerCase() }</strong> {greeting.endsWith(",") ? " " : <span style={{color: '\grey'}}>", "</span> } ❯ test/fixtures.test.ts:125:7 ❯ test/fixtures.test.ts:116:5
test/fixtures.test.ts > tab-double-quotes: test/fixtures.test.ts#L125
Error: Snapshot `tab-double-quotes 2` mismatched - Expected + Received @@ -7,11 +7,11 @@ if (!greeting) return null // TODO: Don't use random in render const num = Math.floor (Math.random() * 1e+7).toString() - .replace(/\.\d+/ig, "") + .replace(/\.\d+/g, "") return ( <div className="HelloWorld" title={`You are visitor number ${num}`} onMouseOver={onMouseOver}> <strong>{ greeting.slice(0, 1).toUpperCase() + greeting.slice(1).toLowerCase() }</strong> {greeting.endsWith(",") ❯ test/fixtures.test.ts:125:7 ❯ test/fixtures.test.ts:116:5
test/fixtures.test.ts > ts-override: test/fixtures.test.ts#L125
Error: Snapshot `ts-override 2` mismatched - Expected + Received @@ -7,11 +7,11 @@ if (!greeting) return null // TODO: Don't use random in render const num = Math.floor (Math.random() * 1e+7).toString() - .replace(/\.\d+/ig, '') + .replace(/\.\d+/g, '') return ( <div className="HelloWorld" title={`You are visitor number ${num}`} onMouseOver={onMouseOver}> <strong>{ greeting.slice(0, 1).toUpperCase() + greeting.slice(1).toLowerCase() }</strong> {greeting.endsWith(',') ❯ test/fixtures.test.ts:125:7 ❯ test/fixtures.test.ts:116:5
test/fixtures.test.ts > with-formatters: test/fixtures.test.ts#L125
Error: Snapshot `with-formatters 6` mismatched - Expected + Received @@ -7,11 +7,11 @@ if (!greeting) return null // TODO: Don't use random in render const num = Math.floor (Math.random() * 1e+7).toString() - .replace(/\.\d+/ig, '') + .replace(/\.\d+/g, '') return ( <div className="HelloWorld" title={`You are visitor number ${num}`} onMouseOver={onMouseOver}> <strong>{ greeting.slice(0, 1).toUpperCase() + greeting.slice(1).toLowerCase() }</strong> {greeting.endsWith(',') ❯ test/fixtures.test.ts:125:7 ❯ test/fixtures.test.ts:116:5
test/fixtures.test.ts > no-markdown-with-formatters: test/fixtures.test.ts#L125
Error: Snapshot `no-markdown-with-formatters 2` mismatched - Expected + Received @@ -7,11 +7,11 @@ if (!greeting) return null // TODO: Don't use random in render const num = Math.floor (Math.random() * 1e+7).toString() - .replace(/\.\d+/ig, '') + .replace(/\.\d+/g, '') return <div className='HelloWorld' title={`You are visitor number ${num}`} onMouseOver={onMouseOver}> <strong>{ greeting.slice(0, 1).toUpperCase() + greeting.slice(1).toLowerCase() }</strong> {greeting.endsWith(',') ? ' ' ❯ test/fixtures.test.ts:125:7 ❯ test/fixtures.test.ts:116:5
test (lts/*, ubuntu-latest)
Process completed with exit code 1.
test/fixtures.test.ts > all: test/fixtures.test.ts#L125
Error: Snapshot `all 2` mismatched - Expected + Received @@ -7,11 +7,11 @@ if (!greeting) return null // TODO: Don't use random in render const num = Math.floor (Math.random() * 1e+7).toString() - .replace(/\.\d+/ig, '') + .replace(/\.\d+/g, '') return ( <div className="HelloWorld" title={`You are visitor number ${num}`} onMouseOver={onMouseOver}> <strong>{ greeting.slice(0, 1).toUpperCase() + greeting.slice(1).toLowerCase() }</strong> {greeting.endsWith(',') ❯ test/fixtures.test.ts:125:7 ❯ test/fixtures.test.ts:116:5
test/fixtures.test.ts > no-style: test/fixtures.test.ts#L125
Error: Snapshot `no-style 2` mismatched - Expected + Received @@ -4,11 +4,11 @@ if(!greeting){ return null}; // TODO: Don't use random in render const num = Math.floor (Math.random() * 1e+7).toString() - .replace(/\.\d+/ig, "") + .replace(/\.\d+/g, "") return <div className='HelloWorld' title={`You are visitor number ${ num }`} onMouseOver={onMouseOver}> <strong>{ greeting.slice( 0, 1 ).toUpperCase() + greeting.slice(1).toLowerCase() }</strong> {greeting.endsWith(",") ? " " : <span style={{color: '\grey'}}>", "</span> } ❯ test/fixtures.test.ts:125:7 ❯ test/fixtures.test.ts:116:5
test/fixtures.test.ts > tab-double-quotes: test/fixtures.test.ts#L125
Error: Snapshot `tab-double-quotes 2` mismatched - Expected + Received @@ -7,11 +7,11 @@ if (!greeting) return null // TODO: Don't use random in render const num = Math.floor (Math.random() * 1e+7).toString() - .replace(/\.\d+/ig, "") + .replace(/\.\d+/g, "") return ( <div className="HelloWorld" title={`You are visitor number ${num}`} onMouseOver={onMouseOver}> <strong>{ greeting.slice(0, 1).toUpperCase() + greeting.slice(1).toLowerCase() }</strong> {greeting.endsWith(",") ❯ test/fixtures.test.ts:125:7 ❯ test/fixtures.test.ts:116:5
test/fixtures.test.ts > ts-override: test/fixtures.test.ts#L125
Error: Snapshot `ts-override 1` mismatched - Expected + Received @@ -7,11 +7,11 @@ if (!greeting) return null // TODO: Don't use random in render const num = Math.floor (Math.random() * 1e+7).toString() - .replace(/\.\d+/ig, '') + .replace(/\.\d+/g, '') return ( <div className="HelloWorld" title={`You are visitor number ${num}`} onMouseOver={onMouseOver}> <strong>{ greeting.slice(0, 1).toUpperCase() + greeting.slice(1).toLowerCase() }</strong> {greeting.endsWith(',') ❯ test/fixtures.test.ts:125:7 ❯ test/fixtures.test.ts:116:5
test/fixtures.test.ts > with-formatters: test/fixtures.test.ts#L125
Error: Snapshot `with-formatters 5` mismatched - Expected + Received @@ -7,11 +7,11 @@ if (!greeting) return null // TODO: Don't use random in render const num = Math.floor (Math.random() * 1e+7).toString() - .replace(/\.\d+/ig, '') + .replace(/\.\d+/g, '') return ( <div className="HelloWorld" title={`You are visitor number ${num}`} onMouseOver={onMouseOver}> <strong>{ greeting.slice(0, 1).toUpperCase() + greeting.slice(1).toLowerCase() }</strong> {greeting.endsWith(',') ❯ test/fixtures.test.ts:125:7 ❯ test/fixtures.test.ts:116:5
test/fixtures.test.ts > no-markdown-with-formatters: test/fixtures.test.ts#L125
Error: Snapshot `no-markdown-with-formatters 2` mismatched - Expected + Received @@ -7,11 +7,11 @@ if (!greeting) return null // TODO: Don't use random in render const num = Math.floor (Math.random() * 1e+7).toString() - .replace(/\.\d+/ig, '') + .replace(/\.\d+/g, '') return <div className='HelloWorld' title={`You are visitor number ${num}`} onMouseOver={onMouseOver}> <strong>{ greeting.slice(0, 1).toUpperCase() + greeting.slice(1).toLowerCase() }</strong> {greeting.endsWith(',') ? ' ' ❯ test/fixtures.test.ts:125:7 ❯ test/fixtures.test.ts:116:5
test (lts/*, macos-latest)
Process completed with exit code 1.
test/fixtures.test.ts > all: test/fixtures.test.ts#L125
Error: Snapshot `all 3` mismatched - Expected + Received @@ -7,11 +7,11 @@ if (!greeting) return null // TODO: Don't use random in render const num = Math.floor (Math.random() * 1e+7).toString() - .replace(/\.\d+/ig, '') + .replace(/\.\d+/g, '') return ( <div className="HelloWorld" title={`You are visitor number ${num}`} onMouseOver={onMouseOver}> <strong>{ greeting.slice(0, 1).toUpperCase() + greeting.slice(1).toLowerCase() }</strong> {greeting.endsWith(',') ❯ test/fixtures.test.ts:125:7 ❯ test/fixtures.test.ts:116:5
test/fixtures.test.ts > no-style: test/fixtures.test.ts#L125
Error: Snapshot `no-style 2` mismatched - Expected + Received @@ -4,11 +4,11 @@ if(!greeting){ return null}; // TODO: Don't use random in render const num = Math.floor (Math.random() * 1e+7).toString() - .replace(/\.\d+/ig, "") + .replace(/\.\d+/g, "") return <div className='HelloWorld' title={`You are visitor number ${ num }`} onMouseOver={onMouseOver}> <strong>{ greeting.slice( 0, 1 ).toUpperCase() + greeting.slice(1).toLowerCase() }</strong> {greeting.endsWith(",") ? " " : <span style={{color: '\grey'}}>", "</span> } ❯ test/fixtures.test.ts:125:7 ❯ test/fixtures.test.ts:116:5
test/fixtures.test.ts > tab-double-quotes: test/fixtures.test.ts#L125
Error: Snapshot `tab-double-quotes 2` mismatched - Expected + Received @@ -7,11 +7,11 @@ if (!greeting) return null // TODO: Don't use random in render const num = Math.floor (Math.random() * 1e+7).toString() - .replace(/\.\d+/ig, "") + .replace(/\.\d+/g, "") return ( <div className="HelloWorld" title={`You are visitor number ${num}`} onMouseOver={onMouseOver}> <strong>{ greeting.slice(0, 1).toUpperCase() + greeting.slice(1).toLowerCase() }</strong> {greeting.endsWith(",") ❯ test/fixtures.test.ts:125:7 ❯ test/fixtures.test.ts:116:5
test/fixtures.test.ts > ts-override: test/fixtures.test.ts#L125
Error: Snapshot `ts-override 2` mismatched - Expected + Received @@ -7,11 +7,11 @@ if (!greeting) return null // TODO: Don't use random in render const num = Math.floor (Math.random() * 1e+7).toString() - .replace(/\.\d+/ig, '') + .replace(/\.\d+/g, '') return ( <div className="HelloWorld" title={`You are visitor number ${num}`} onMouseOver={onMouseOver}> <strong>{ greeting.slice(0, 1).toUpperCase() + greeting.slice(1).toLowerCase() }</strong> {greeting.endsWith(',') ❯ test/fixtures.test.ts:125:7 ❯ test/fixtures.test.ts:116:5
test/fixtures.test.ts > with-formatters: test/fixtures.test.ts#L125
Error: Snapshot `with-formatters 5` mismatched - Expected + Received @@ -7,11 +7,11 @@ if (!greeting) return null // TODO: Don't use random in render const num = Math.floor (Math.random() * 1e+7).toString() - .replace(/\.\d+/ig, '') + .replace(/\.\d+/g, '') return ( <div className="HelloWorld" title={`You are visitor number ${num}`} onMouseOver={onMouseOver}> <strong>{ greeting.slice(0, 1).toUpperCase() + greeting.slice(1).toLowerCase() }</strong> {greeting.endsWith(',') ❯ test/fixtures.test.ts:125:7 ❯ test/fixtures.test.ts:116:5
test/fixtures.test.ts > no-markdown-with-formatters: test/fixtures.test.ts#L125
Error: Snapshot `no-markdown-with-formatters 2` mismatched - Expected + Received @@ -7,11 +7,11 @@ if (!greeting) return null // TODO: Don't use random in render const num = Math.floor (Math.random() * 1e+7).toString() - .replace(/\.\d+/ig, '') + .replace(/\.\d+/g, '') return <div className='HelloWorld' title={`You are visitor number ${num}`} onMouseOver={onMouseOver}> <strong>{ greeting.slice(0, 1).toUpperCase() + greeting.slice(1).toLowerCase() }</strong> {greeting.endsWith(',') ? ' ' ❯ test/fixtures.test.ts:125:7 ❯ test/fixtures.test.ts:116:5
test (lts/*, windows-latest)
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, 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/.
test (lts/*, ubuntu-latest)
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/.
test (lts/*, macos-latest)
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/.
test (lts/*, windows-latest)
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/.