Skip to content

Commit 4b77d0d

Browse files
committed
fx: test
1 parent 5140ebe commit 4b77d0d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

extensions/cli/src/integration/model-persistence-unauthenticated.test.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ import {
1212
} from "../auth/workos.js";
1313
import * as config from "../config.js";
1414
import { ModelService } from "../services/ModelService.js";
15-
import { getPersistedModelName } from "../util/modelPersistence.js";
15+
import {
16+
getPersistedModelName,
17+
persistModelName,
18+
} from "../util/modelPersistence.js";
1619

1720
// Mock the config module
1821
vi.mock("../config.js");
@@ -32,7 +35,6 @@ describe("Model Persistence for Unauthenticated Users", () => {
3235
process.env.CONTINUE_GLOBAL_DIR = testDir;
3336

3437
// Clear GlobalContext for clean test state
35-
const { persistModelName } = require("../util/modelPersistence.js");
3638
persistModelName(null);
3739

3840
mockAssistant = {

0 commit comments

Comments
 (0)