From ac642b798c6d4434896a4d8e7986e4d8a755b2ae Mon Sep 17 00:00:00 2001
From: Arvin Xu <arvinx@foxmail.com>
Date: Tue, 22 Oct 2024 09:00:05 +0000
Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20fix=20cssvar?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 tests/functions/extractStaticStyle.test.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/functions/extractStaticStyle.test.tsx b/tests/functions/extractStaticStyle.test.tsx
index b64caffa..072d7b21 100644
--- a/tests/functions/extractStaticStyle.test.tsx
+++ b/tests/functions/extractStaticStyle.test.tsx
@@ -53,7 +53,7 @@ describe('extractStaticStyle', () => {
       const item = result.find((i) => i.key === 'antd')!;
       expect(item).toBeDefined();
       expect(item.css).toMatch(/\.ant-/);
-      expect(item.tag).toMatch(/<style data-antd-version="[0-9]+\.[0-9]+\.[0-9]+">\s*/);
+      expect(item.tag).toMatch(/<style data-rc-order="prepend" data-rc-priority="-9999" data-antd-version="[0-9]+\.[0-9]+\.[0-9]+">\s*/);
     });
 
     // FIXME: 迁移到 vitest 后,不知道为什么 无法提取 extractStaticStyle 了