Prepare internal extension distribution

This commit is contained in:
2026-04-29 16:58:35 +08:00
parent 4f1f80b79b
commit 37e29bd6b8
23 changed files with 380 additions and 38 deletions
+1 -2
View File
@@ -3,7 +3,7 @@ import { describe, expect, test } from "vitest";
import { createBatchPayload } from "../src/content/market/batch-payload";
describe("batch-payload", () => {
test("builds a batch id from the user id and timestamp", () => {
test("builds the batch payload without a client-side batch id", () => {
const payload = createBatchPayload({
authState: {
isAuthenticated: true,
@@ -26,7 +26,6 @@ describe("batch-payload", () => {
{ authorId: "111", authorName: "达人A" },
{ authorId: "222", authorName: "达人B" }
],
batchId: "p7pdhhtde8kj-2026-04-22T12:30:00.000Z",
batchName: "618达人筛选第一批",
createdAt: "2026-04-22T12:30:00.000Z",
creatorName: "王少卿",