Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
sinclairnick committed Jul 17, 2024
1 parent 89e206a commit 8974382
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/full/src/backend/routes.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { describe, expect, test } from "vitest";
import { appRoutes } from "./routes";
import { ZodError } from "zod";
import { route } from "@webroute/route";
import { route, Route } from "@webroute/route";

describe("Routes", () => {
test("GET /post errors on non-numeric id param", () => {
Expand All @@ -20,7 +20,7 @@ describe("Routes", () => {
});

test("Can override providers", async () => {
const overridden = route.withProviders(appRoutes.routeWithFooProvider, {
const overridden = Route.withProviders(appRoutes.routeWithFooProvider, {
foo: () => "bar",
});

Expand Down

0 comments on commit 8974382

Please sign in to comment.