Skip to content

Commit ac642b7

Browse files
committed
🐛 fix: fix cssvar
1 parent db511ef commit ac642b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/functions/extractStaticStyle.test.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ describe('extractStaticStyle', () => {
5353
const item = result.find((i) => i.key === 'antd')!;
5454
expect(item).toBeDefined();
5555
expect(item.css).toMatch(/\.ant-/);
56-
expect(item.tag).toMatch(/<style data-antd-version="[0-9]+\.[0-9]+\.[0-9]+">\s*/);
56+
expect(item.tag).toMatch(/<style data-rc-order="prepend" data-rc-priority="-9999" data-antd-version="[0-9]+\.[0-9]+\.[0-9]+">\s*/);
5757
});
5858

5959
// FIXME: 迁移到 vitest 后,不知道为什么 无法提取 extractStaticStyle 了

0 commit comments

Comments
 (0)