Skip to content

Conversation

@Aybrea
Copy link
Collaborator

@Aybrea Aybrea commented Dec 11, 2025

Checklist

List of tasks you have already done and plan to do.

  • Fix linting errors
  • Tests have been added / updated (or snapshots)

Change information

Fix typescript syntax error, fix test cases and format code

@vercel
Copy link

vercel bot commented Dec 11, 2025

@Aybrea is attempting to deploy a commit to the varletjs Team on Vercel.

A member of the Team first needs to authorize it.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 11, 2025

Open in StackBlitz

@varlet/cli

npm i https://pkg.pr.new/@varlet/cli@1937

@varlet/icons

npm i https://pkg.pr.new/@varlet/icons@1937

@varlet/import-resolver

npm i https://pkg.pr.new/@varlet/import-resolver@1937

@varlet/preset-tailwindcss

npm i https://pkg.pr.new/@varlet/preset-tailwindcss@1937

@varlet/preset-unocss

npm i https://pkg.pr.new/@varlet/preset-unocss@1937

@varlet/shared

npm i https://pkg.pr.new/@varlet/shared@1937

@varlet/touch-emulator

npm i https://pkg.pr.new/@varlet/touch-emulator@1937

@varlet/ui

npm i https://pkg.pr.new/@varlet/ui@1937

@varlet/use

npm i https://pkg.pr.new/@varlet/use@1937

@varlet/vite-plugins

npm i https://pkg.pr.new/@varlet/vite-plugins@1937

commit: 82ba5df

@Aybrea Aybrea changed the title fix(types): typescript syntax error fix(types): typescript syntax error and test cases Dec 11, 2025
Aybrea and others added 4 commits December 22, 2025 14:50
This workflow can be manually triggered to update all snapshots in the
Linux environment matching CI (ubuntu-latest with Node 20.19.5).
This ensures snapshots match what CI expects, fixing platform-specific
snapshot mismatches.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
The test was checking for the exact string 'calc(100px * 0.9)', but
in the Linux CI environment, the browser simplifies it to 'calc(90px)'.
Updated the test to accept both formats using regex matching.

This fixes the assertion error that was preventing the snapshot update
workflow from completing successfully.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant