From aaa6feb8db6a31e598204448d6f45520313140f3 Mon Sep 17 00:00:00 2001 From: kaitranntt Date: Fri, 23 Jan 2026 23:47:09 -0500 Subject: [PATCH] fix(tests): remove undefined MockRoute export and unused imports - Remove MockRoute from index.ts (type was removed in previous commit) - Remove unused UPLOAD_SUCCESS, UNAUTHORIZED imports from test file --- tests/mocks/index.ts | 1 - tests/unit/cliproxy/remote-token-uploader.test.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/mocks/index.ts b/tests/mocks/index.ts index 34febc6c..997b5235 100644 --- a/tests/mocks/index.ts +++ b/tests/mocks/index.ts @@ -19,7 +19,6 @@ export type { HttpMethod, MockResponse, MockResponseBody, - MockRoute, MockHttpServerConfig, MockFetchHandler, CapturedRequest, diff --git a/tests/unit/cliproxy/remote-token-uploader.test.ts b/tests/unit/cliproxy/remote-token-uploader.test.ts index b313d3cc..c2b8d389 100644 --- a/tests/unit/cliproxy/remote-token-uploader.test.ts +++ b/tests/unit/cliproxy/remote-token-uploader.test.ts @@ -8,7 +8,7 @@ import { describe, it, expect, beforeEach, afterEach } from 'bun:test'; import * as fs from 'fs'; import * as path from 'path'; import * as os from 'os'; -import { mockFetch, restoreFetch, getCapturedFetchRequests, UPLOAD_SUCCESS, UNAUTHORIZED } from '../../mocks'; +import { mockFetch, restoreFetch, getCapturedFetchRequests } from '../../mocks'; describe('remote-token-uploader', () => { let tempDir: string;