Skip to content

Commit

Permalink
fix gotBenchmark test
Browse files Browse the repository at this point in the history
  • Loading branch information
nickvisut committed Jan 24, 2025
1 parent 90665c3 commit 00c7a87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/routers/iep.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ test("basic flow - add/get goals, benchmarks, tasks", async (t) => {
const gotBenchmark = await trpc.iep.getBenchmark.query({
benchmark_id: benchmark2Id,
});
t.is(gotBenchmark[0].description, "benchmark 2");
t.is(gotBenchmark.description, "benchmark 2");

// TODO: Don't query db directly and use an API method instead. Possibly create a getTasks method later
t.truthy(
Expand Down

0 comments on commit 00c7a87

Please sign in to comment.