mirror of
https://github.com/tiennm99/ccs.git
synced 2026-07-16 12:15:57 +00:00
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
This commit is contained in:
@@ -19,7 +19,6 @@ export type {
|
|||||||
HttpMethod,
|
HttpMethod,
|
||||||
MockResponse,
|
MockResponse,
|
||||||
MockResponseBody,
|
MockResponseBody,
|
||||||
MockRoute,
|
|
||||||
MockHttpServerConfig,
|
MockHttpServerConfig,
|
||||||
MockFetchHandler,
|
MockFetchHandler,
|
||||||
CapturedRequest,
|
CapturedRequest,
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import { describe, it, expect, beforeEach, afterEach } from 'bun:test';
|
|||||||
import * as fs from 'fs';
|
import * as fs from 'fs';
|
||||||
import * as path from 'path';
|
import * as path from 'path';
|
||||||
import * as os from 'os';
|
import * as os from 'os';
|
||||||
import { mockFetch, restoreFetch, getCapturedFetchRequests, UPLOAD_SUCCESS, UNAUTHORIZED } from '../../mocks';
|
import { mockFetch, restoreFetch, getCapturedFetchRequests } from '../../mocks';
|
||||||
|
|
||||||
describe('remote-token-uploader', () => {
|
describe('remote-token-uploader', () => {
|
||||||
let tempDir: string;
|
let tempDir: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user