mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-16 10:50:38 +09:00
24 lines
875 B
TypeScript
24 lines
875 B
TypeScript
|
|
import { describe, expect, it } from "vitest";
|
||
|
|
import { normalizeExperimentalSettings } from "../services/instance-settings.js";
|
||
|
|
|
||
|
|
describe("instance settings service", () => {
|
||
|
|
it("ignores retired experimental flags without resetting current settings", () => {
|
||
|
|
expect(normalizeExperimentalSettings({
|
||
|
|
enableEnvironments: true,
|
||
|
|
enableIsolatedWorkspaces: true,
|
||
|
|
enableCloudSync: true,
|
||
|
|
autoRestartDevServerWhenIdle: true,
|
||
|
|
enableIssueGraphLivenessAutoRecovery: true,
|
||
|
|
issueGraphLivenessAutoRecoveryLookbackHours: 48,
|
||
|
|
enableNewestFirstIssueThread: true,
|
||
|
|
})).toEqual({
|
||
|
|
enableEnvironments: true,
|
||
|
|
enableIsolatedWorkspaces: true,
|
||
|
|
enableCloudSync: true,
|
||
|
|
autoRestartDevServerWhenIdle: true,
|
||
|
|
enableIssueGraphLivenessAutoRecovery: true,
|
||
|
|
issueGraphLivenessAutoRecoveryLookbackHours: 48,
|
||
|
|
});
|
||
|
|
});
|
||
|
|
});
|