test(mobile): remove duplicate terminal id tests
This commit is contained in:
1 parent
d484735c64
commit
1377afe74c
1 file changed
-11
@@ -8,7 +8,6 @@ import { getTerminalLabel } from "@t3tools/shared/terminalLabels";
|
||||
import {
|
||||
buildTerminalMenuSessions,
|
||||
nextOpenTerminalId,
|
||||
nextTerminalId,
|
||||
previousLiveTerminalId,
|
||||
resolveProjectScriptTerminalId,
|
||||
type TerminalMenuSession,
|
||||
@@ -125,16 +124,6 @@ describe("buildTerminalMenuSessions", () => {
|
||||
});
|
||||
});
|
||||
|
||||
describe("nextTerminalId", () => {
|
||||
it("uses the primary id when no terminals are listed yet", () => {
|
||||
expect(nextTerminalId([])).toBe(DEFAULT_TERMINAL_ID);
|
||||
});
|
||||
|
||||
it("allocates term-2 when only the primary shell exists", () => {
|
||||
expect(nextTerminalId([DEFAULT_TERMINAL_ID])).toBe("term-2");
|
||||
});
|
||||
});
|
||||
|
||||
describe("nextOpenTerminalId", () => {
|
||||
it("matches nextTerminalId when not on a terminal route", () => {
|
||||
expect(nextOpenTerminalId({ listedTerminalIds: [] })).toBe(DEFAULT_TERMINAL_ID);
|
||||
|
||||
Reference in new issue
Block a user