Skip to content

refactor(code): refine component structure #6446

refactor(code): refine component structure

refactor(code): refine component structure #6446

Triggered via push October 9, 2024 18:19
Status Failure
Total duration 2m 31s
Artifacts

ci.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
src/code/__tests__/index.spec.js > test code component props > test code content: packages/varlet-ui/src/code/__tests__/index.spec.js#L34
Error: Snapshot `test code component props > test code content 1` mismatched - Expected + Received "<div class="var-highlighter-provider"> - <div class="var-code"><pre class="shiki vitesse-light" style="background-color:#ffffff;color:#393a34" tabindex="0"><code><span class="line"><span style="color:#B07D48">console</span><span style="color:#999999">.</span><span style="color:#59873A">log</span><span style="color:#999999">(</span><span style="color:#B5695977">'</span><span style="color:#B56959">hello world</span><span style="color:#B5695977">'</span><span style="color:#999999">)</span></span></code></pre> - </div> + <div class="var-code"></div> </div>" ❯ src/code/__tests__/index.spec.js:34:28
test
Process completed with exit code 1.
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/