Unverified 提交 01acdbf2 authored 作者: Will Chen's avatar Will Chen 提交者: GitHub

Update E2E snapshots (#2326)

## Summary - Update E2E snapshots to match the new formatter output after the oxfmt migration The snapshot changes reflect formatting differences from the transition from prettier to oxfmt for code formatting. ## Test plan - E2E tests pass locally with updated snapshots #skip-bugbot <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Updated E2E snapshots to match oxfmt formatter output after migrating from Prettier. This resolves snapshot diffs (like JSON key order and TypeScript line breaks) so tests pass without changing behavior. <sup>Written for commit 32d4195cde1d0c829b6475212ea10ea7d628471c. Summary will update on new commits.</sup> <!-- End of auto-generated description by cubic. --> Co-authored-by: 's avatarClaude Opus 4.5 <noreply@anthropic.com>
上级 7730b51e
...@@ -124,8 +124,8 @@ A file (2) ...@@ -124,8 +124,8 @@ A file (2)
=== package.json === === package.json ===
{ {
"name": "vite_react_shadcn_ts", "name": "vite_react_shadcn_ts",
"private": true,
"version": "0.0.0", "version": "0.0.0",
"private": true,
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
...@@ -684,7 +684,8 @@ const badgeVariants = cva( ...@@ -684,7 +684,8 @@ const badgeVariants = cva(
); );
export interface BadgeProps export interface BadgeProps
extends React.HTMLAttributes<HTMLDivElement>, extends
React.HTMLAttributes<HTMLDivElement>,
VariantProps<typeof badgeVariants> {} VariantProps<typeof badgeVariants> {}
function Badge({ className, variant, ...props }: BadgeProps) { function Badge({ className, variant, ...props }: BadgeProps) {
...@@ -851,7 +852,8 @@ const buttonVariants = cva( ...@@ -851,7 +852,8 @@ const buttonVariants = cva(
); );
export interface ButtonProps export interface ButtonProps
extends React.ButtonHTMLAttributes<HTMLButtonElement>, extends
React.ButtonHTMLAttributes<HTMLButtonElement>,
VariantProps<typeof buttonVariants> { VariantProps<typeof buttonVariants> {
asChild?: boolean; asChild?: boolean;
} }
...@@ -3776,7 +3778,8 @@ const sheetVariants = cva( ...@@ -3776,7 +3778,8 @@ const sheetVariants = cva(
); );
interface SheetContentProps interface SheetContentProps
extends React.ComponentPropsWithoutRef<typeof SheetPrimitive.Content>, extends
React.ComponentPropsWithoutRef<typeof SheetPrimitive.Content>,
VariantProps<typeof sheetVariants> {} VariantProps<typeof sheetVariants> {}
const SheetContent = React.forwardRef< const SheetContent = React.forwardRef<
...@@ -4928,8 +4931,7 @@ import * as React from "react"; ...@@ -4928,8 +4931,7 @@ import * as React from "react";
import { cn } from "@/lib/utils"; import { cn } from "@/lib/utils";
export interface TextareaProps export interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {}
extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {}
const Textarea = React.forwardRef<HTMLTextAreaElement, TextareaProps>( const Textarea = React.forwardRef<HTMLTextAreaElement, TextareaProps>(
({ className, ...props }, ref) => { ({ className, ...props }, ref) => {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论