fix: refine market toolbar filters
This commit is contained in:
@@ -55,4 +55,22 @@ describe("batch-payload", () => {
|
||||
})
|
||||
).toThrow(/user/i);
|
||||
});
|
||||
|
||||
test("throws when no creator records are available", () => {
|
||||
expect(() =>
|
||||
createBatchPayload({
|
||||
authState: {
|
||||
isAuthenticated: true,
|
||||
resource: "https://talent-search.intelligrow.cn",
|
||||
userInfo: {
|
||||
name: "王少卿",
|
||||
sub: "p7pdhhtde8kj"
|
||||
}
|
||||
},
|
||||
batchName: "空结果批次",
|
||||
createdAt: "2026-07-03T03:05:52.432Z",
|
||||
records: []
|
||||
})
|
||||
).toThrow("当前没有可提交的达人");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user