Skip to content

Support variable

Support variable #81

Triggered via pull request April 1, 2026 07:02
Status Failure
Total duration 12s
Artifacts

CI.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
error: expect(received).toMatchSnapshot(expected): src/codegen/__tests__/codegen.test.ts#L60798
"export function Component1() { return ( <VStack bg="$background" borderRadius="30px" gap="20px" p="40px"> - <Image boxSize="64px" src="/icons/puzzle-piece.svg" /> + <Box boxSize="64px" overflow="hidden" pos="relative"> + <Box + bg="#B0B0AF" + h="53.9px" + maskImage="url(/icons/Vector.svg)" + maskPos="center" + maskRepeat="no-repeat" + maskSize="contain" + w="57.96px" + /> + <Image h="58.37px" src="/icons/Vector.svg" w="57.23px" /> + </Box> <Text color="$text" fontFamily="Pretendard" fontSize="20px" fontWeight="800" letterSpacing="-0.04em" lineHeight="1.4" wordBreak="keep-all" > <Text color="$primary"> </Text> . </Text> <Text color="$text" fontFamily="Pretendard" fontSize="16px" fontWeight="500" letterSpacing="-0.06em" lineHeight="1.6" wordBreak="keep-all" > . </Text> </VStack> ) }" - Expected - 1 + Received + 12 at <anonymous> (/home/runner/work/devup-figma-plugin/devup-figma-plugin/src/codegen/__tests__/codegen.test.ts:60798:27)
error: expect(received).toMatchSnapshot(expected): src/codegen/__tests__/codegen.test.ts#L60798
"export function Component1() { return ( <Flex alignItems="center" bg="$primary" borderRadius="100px" gap="20px" px="60px" py="12px" > <Text color="#FFF" fontFamily="Pretendard" fontSize="18px" fontWeight="700" letterSpacing="-0.04em" lineHeight="1.6" wordBreak="keep-all" > </Text> - <Box - bg="#FFF" - boxSize="20px" - maskImage="url(/icons/arrow.svg)" - maskPos="center" - maskRepeat="no-repeat" - maskSize="contain" - /> + <Box boxSize="20px" pos="relative"> + <Box + aspectRatio="1" + bg="#FFF" + boxSize="20px" + maskImage="url(/icons/Stroke.svg)" + maskPos="center" + maskRepeat="no-repeat" + maskSize="contain" + /> + </Box> </Flex> ) }" - Expected - 8 + Received + 11 at <anonymous> (/home/runner/work/devup-figma-plugin/devup-figma-plugin/src/codegen/__tests__/codegen.test.ts:60798:27)
error: expect(received).toBe(expected): src/codegen/__tests__/codegen.test.ts#L3194
Expected: "Image" Received: "Box" at <anonymous> (/home/runner/work/devup-figma-plugin/devup-figma-plugin/src/codegen/__tests__/codegen.test.ts:3194:30)
error: expect(received).toMatchSnapshot(expected): src/codegen/__tests__/codegen.test.ts#L2685
- "<Image boxSize="24px" src="/icons/NestedMultiColorIcon.svg" />" + + "<Box boxSize="24px"> + <Box bg="#F00" boxSize="100%" /> + <Box bg="#0F0" boxSize="100%" /> + <Box bg="#00F" boxSize="100%" /> + </Box>" + - Expected - 1 + Received + 7 at <anonymous> (/home/runner/work/devup-figma-plugin/devup-figma-plugin/src/codegen/__tests__/codegen.test.ts:2685:31)
error: expect(received).toMatchSnapshot(expected): src/codegen/__tests__/codegen.test.ts#L2685
- "<Box - bg="#F00" - boxSize="24px" - maskImage="url(/icons/NestedIcon.svg)" - maskPos="center" - maskRepeat="no-repeat" - maskSize="contain" - />" - + "<Box boxSize="24px"> + <Box bg="#F00" boxSize="100%" /> + <Box bg="#F00" boxSize="100%" /> + <Box bg="#F00" boxSize="100%" /> + </Box>" + - Expected - 9 + Received + 6 at <anonymous> (/home/runner/work/devup-figma-plugin/devup-figma-plugin/src/codegen/__tests__/codegen.test.ts:2685:31)
error: expect(received).toMatchSnapshot(expected): src/codegen/__tests__/codegen.test.ts#L2685
- "<Image boxSize="24px" src="/icons/MixedIcon.svg" />" + + "<Box boxSize="24px"> + <Box + bg="#F00" + boxSize="100%" + maskImage="url(/icons/Vector1.svg)" + maskPos="center" + maskRepeat="no-repeat" + maskSize="contain" + /> + <Box + bg="#00F" + boxSize="100%" + maskImage="url(/icons/Vector2.svg)" + maskPos="center" + maskRepeat="no-repeat" + maskSize="contain" + /> + </Box>" + - Expected - 1 + Received + 20 at <anonymous> (/home/runner/work/devup-figma-plugin/devup-figma-plugin/src/codegen/__tests__/codegen.test.ts:2685:31)
error: expect(received).toMatchSnapshot(expected): src/codegen/__tests__/codegen.test.ts#L2685
- "<Box - bg="#F00" - boxSize="24px" - maskImage="url(/icons/GroupIcon.svg)" - maskPos="center" - maskRepeat="no-repeat" - maskSize="contain" - />" - + "<Box boxSize="24px"> + <Box + bg="#F00" + boxSize="100%" + maskImage="url(/icons/Vector1.svg)" + maskPos="center" + maskRepeat="no-repeat" + maskSize="contain" + /> + <Box + bg="#F00" + boxSize="100%" + maskImage="url(/icons/Vector2.svg)" + maskPos="center" + maskRepeat="no-repeat" + maskSize="contain" + /> + </Box>" + - Expected - 9 + Received + 19 at <anonymous> (/home/runner/work/devup-figma-plugin/devup-figma-plugin/src/codegen/__tests__/codegen.test.ts:2685:31)
error: expect(received).toMatchSnapshot(expected): src/codegen/__tests__/codegen.test.ts#L2685
Expected: "<Box bg="#F00" boxSize="24px" />" Received: "<Image boxSize="24px" src="/images/SolidAsset.png" />" at <anonymous> (/home/runner/work/devup-figma-plugin/devup-figma-plugin/src/codegen/__tests__/codegen.test.ts:2685:31)
error: expect(received).toMatchSnapshot(expected): src/codegen/__tests__/codegen.test.ts#L2685
Expected: "<Image boxSize="24px" src="/icons/GradientAsset.svg" />" Received: "<Image boxSize="24px" src="/images/GradientAsset.png" />" at <anonymous> (/home/runner/work/devup-figma-plugin/devup-figma-plugin/src/codegen/__tests__/codegen.test.ts:2685:31)
error: expect(received).toMatchSnapshot(expected): src/codegen/__tests__/codegen.test.ts#L2685
Expected: "<Image boxSize="24px" src="/icons/EllipseIcon.svg" />" Received: "<Box boxSize="24px" />" at <anonymous> (/home/runner/work/devup-figma-plugin/devup-figma-plugin/src/codegen/__tests__/codegen.test.ts:2685:31)