Skip to content

Commit b55c90f

Browse files
committed
fix: adding serives.proto instead of new grpc.proto
fix #51
1 parent 007c7db commit b55c90f

File tree

4 files changed

+3
-248
lines changed

4 files changed

+3
-248
lines changed

grpc.proto

Lines changed: 0 additions & 245 deletions
This file was deleted.

mock/mock.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { createExecutionContext, getExecutionContext } from "../src/context";
88
import { startRecordingMocks } from "./utils";
99

1010
const PORT = 6789;
11-
const PROTO_FILE = "../../grpc.proto";
11+
const PROTO_FILE = "../../proto/services.proto";
1212
const packageDef = protoLoader.loadSync(path.resolve(__dirname, PROTO_FILE));
1313
const grpcObj = grpc.loadPackageDefinition(
1414
packageDef

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"main": "dist/src/index.js",
55
"files": [
66
"dist",
7-
"grpc.proto"
7+
"proto/services.proto"
88
],
99
"scripts": {
1010
"build": "tsc",

src/keploy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { StrArr } from "../proto/services/StrArr";
1515
import assert = require("assert");
1616
import { createExecutionContext, getExecutionContext } from "./context";
1717

18-
const PROTO_PATH = "../../grpc.proto";
18+
const PROTO_PATH = "../../proto/services.proto";
1919
const packageDef = protoLoader.loadSync(path.resolve(__dirname, PROTO_PATH));
2020
const grpcObj = grpc.loadPackageDefinition(
2121
packageDef

0 commit comments

Comments
 (0)