mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-05 00:29:50 +08:00
12 lines
359 B
TypeScript
12 lines
359 B
TypeScript
import test from "node:test";
|
|
import assert from "node:assert/strict";
|
|
|
|
import { newMasteryPathChatUrl } from "../lib/mastery-path-navigation";
|
|
|
|
test("continuing a mastery path opens a fresh associated chat", () => {
|
|
assert.equal(
|
|
newMasteryPathChatUrl("calculus/path 1"),
|
|
"/home?capability=mastery_path&mastery_path_id=calculus%2Fpath+1",
|
|
);
|
|
});
|