Skip to content

Commit 1757a47

Browse files
committed
Merge branch 'development' into feat/communication
2 parents 70c3c6d + 8580bea commit 1757a47

File tree

3 files changed

+0
-15
lines changed

3 files changed

+0
-15
lines changed

backend/code-execution-service/src/controllers/codeExecutionControllers.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,6 @@ export const executeCode = async (req: Request, res: Response) => {
4343
const { inputs: stdinList, outputs: expectedResultList } =
4444
qnsResponse.data.question;
4545

46-
// Extract test cases from input and output files
47-
// const testCases = await testCasesApi(
48-
// testcaseInputFileUrl,
49-
// testcaseOutputFileUrl
50-
// );
51-
52-
// const stdinList: string[] = testCases.input;
53-
// const expectedResultList: string[] = testCases.output;
54-
5546
if (stdinList.length !== expectedResultList.length) {
5647
res.status(400).json({
5748
message: ERROR_NOT_SAME_LENGTH_MESSAGE,

backend/code-execution-service/tests/codeExecutionRoutes.spec.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ jest.mock("../src/utils/questionApi", () => ({
1818
},
1919
}));
2020

21-
jest.mock("../src/utils/testCasesApi", () => ({
22-
testCasesApi: jest.fn(),
23-
}));
24-
2521
describe("Code execution routes", () => {
2622
beforeEach(() => {
2723
jest.clearAllMocks();

frontend/src/pages/CollabSandbox/index.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ const CollabSandbox: React.FC = () => {
6767
checkPartnerStatus,
6868
isEndSessionModalOpen,
6969
resetCollab,
70-
setCompilerResult,
7170
} = collab;
7271

7372
const [state, dispatch] = useReducer(reducer, initialState);
@@ -82,7 +81,6 @@ const CollabSandbox: React.FC = () => {
8281
return;
8382
}
8483
getQuestionById(questionId, dispatch);
85-
setCompilerResult([]);
8684

8785
resetCollab();
8886

0 commit comments

Comments
 (0)