diff --git a/.changeset/short-gifts-promise.md b/.changeset/short-gifts-promise.md new file mode 100644 index 00000000..b313e87e --- /dev/null +++ b/.changeset/short-gifts-promise.md @@ -0,0 +1,5 @@ +--- +"claude-dev": patch +--- + +Moving grpc recorder as unit tests diff --git a/src/core/controller/grpc-recorder/grpc-recorder.builder.test.ts b/src/core/controller/grpc-recorder/__tests__/grpc-recorder.builder.test.ts similarity index 100% rename from src/core/controller/grpc-recorder/grpc-recorder.builder.test.ts rename to src/core/controller/grpc-recorder/__tests__/grpc-recorder.builder.test.ts diff --git a/src/core/controller/grpc-recorder/grpc-recorder.test.ts b/src/core/controller/grpc-recorder/__tests__/grpc-recorder.test.ts similarity index 100% rename from src/core/controller/grpc-recorder/grpc-recorder.test.ts rename to src/core/controller/grpc-recorder/__tests__/grpc-recorder.test.ts diff --git a/src/core/controller/grpc-recorder/log-file-handler.test.ts b/src/core/controller/grpc-recorder/__tests__/log-file-handler.test.ts similarity index 100% rename from src/core/controller/grpc-recorder/log-file-handler.test.ts rename to src/core/controller/grpc-recorder/__tests__/log-file-handler.test.ts diff --git a/src/core/controller/grpc-recorder/test-hooks.test.ts b/src/core/controller/grpc-recorder/__tests__/test-hooks.test.ts similarity index 83% rename from src/core/controller/grpc-recorder/test-hooks.test.ts rename to src/core/controller/grpc-recorder/__tests__/test-hooks.test.ts index 53f40ce2..d24c58c8 100644 --- a/src/core/controller/grpc-recorder/test-hooks.test.ts +++ b/src/core/controller/grpc-recorder/__tests__/test-hooks.test.ts @@ -1,11 +1,11 @@ import { afterEach, beforeEach, describe, it } from "mocha" import "should" +import { Controller } from "@core/controller" +import { IRecorder } from "@core/controller/grpc-recorder/grpc-recorder" +import { GrpcRecorderBuilder } from "@core/controller/grpc-recorder/grpc-recorder.builder" +import { testHooks } from "@core/controller/grpc-recorder/test-hooks" +import { GrpcLogEntry } from "@core/controller/grpc-recorder/types" import * as sinon from "sinon" -import { Controller } from ".." -import { IRecorder } from "./grpc-recorder" -import { GrpcRecorderBuilder } from "./grpc-recorder.builder" -import { testHooks } from "./test-hooks" -import { GrpcLogEntry } from "./types" describe("test-hooks", () => { let cleanupSyntheticEntriesStub: sinon.SinonStub