mirror of
https://gh-proxy.org/https://github.com/klinsmaya/multica.git
synced 2026-11-09 01:46:46 +08:00
* feat(issues): add revision-aware concurrency guards * fix(concurrency): decouple text edits from aggregate revisions
13 lines
403 B
TypeScript
13 lines
403 B
TypeScript
import { describe, expect, it } from "vitest";
|
|
|
|
import { buildIssueTextUpdate } from "./issue-edit";
|
|
|
|
describe("buildIssueTextUpdate", () => {
|
|
it("keeps mobile text saves last-write-wins until conflict reconciliation exists", () => {
|
|
expect(buildIssueTextUpdate(" Updated title ", " Updated body ")).toEqual({
|
|
title: "Updated title",
|
|
description: "Updated body",
|
|
});
|
|
});
|
|
});
|