Code runner gives errors
Closes #36 (closed)
Endret return types fra APIen slik:
type TestResult =
| {
kind: "Success";
}
| {
kind: "Error";
message: string;
}
| {
kind: "FailedTests";
differences: {
expected: string;
actual: string;
}[];
};
interface TestResults {
totalTests: number;
passedTests: number;
executionTimeUs: number;
results: TestResult[];
}
Eksempel request, Input:
Output:
Edited by Teemu Johannes Vikøren