We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db511ef commit ac642b7Copy full SHA for ac642b7
tests/functions/extractStaticStyle.test.tsx
@@ -53,7 +53,7 @@ describe('extractStaticStyle', () => {
53
const item = result.find((i) => i.key === 'antd')!;
54
expect(item).toBeDefined();
55
expect(item.css).toMatch(/\.ant-/);
56
- 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*/);
57
});
58
59
// FIXME: 迁移到 vitest 后,不知道为什么 无法提取 extractStaticStyle 了
0 commit comments