Skip to content

Commit 3404529

Browse files
committed
fix snapshot
1 parent ec446f5 commit 3404529

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/functions/__snapshots__/createInstance.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
exports[`createInstance > 自定义 prefixCls 时,会采用 instance 的 prefixCls 而不是 CP 的prefixCls 1`] = `
44
.emotion-0.test-btn {
55
background: lightsteelblue;
6-
border: none;
6+
border: none none;
77
color: royalblue;
88
}
99

tests/functions/extractStaticStyle.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ describe('extractStaticStyle', () => {
5454
expect(item).toBeDefined();
5555
expect(item.css).toMatch(/\.ant-/);
5656
expect(item.tag).toMatch(
57-
/<style data-rc-order="prepend" data-rc-priority="-9999" data-antd-version="6.0.0-alpha.1">\s*/,
57+
/<style data-rc-order="prepend" data-rc-priority="-9999" data-antd-version="6\s*/,
5858
);
5959
});
6060

0 commit comments

Comments
 (0)