Skip to content

Commit

Permalink
fix(ponder-build): move tests out the src/ dir
Browse files Browse the repository at this point in the history
This is needed to avoid issues with ponder build process.
  • Loading branch information
tk-o committed Jan 22, 2025
1 parent 699310f commit 09b2934
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/lib/helpers.spec.ts → test/helpers.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
parseRpcEndpointUrl,
parseRpcMaxRequestsPerSecond,
uniq,
} from "./helpers";
} from "../src/lib/helpers";

describe("helpers", () => {
describe("uniq", () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { describe, expect, it } from "vitest";
import { createPluginNamespace } from "./plugin-helpers";
import { createPluginNamespace } from "../src/lib/plugin-helpers";

describe("createPluginNamespace", () => {
it("should return a function that creates namespaced contract names", () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
isLabelIndexable,
makeSubnodeNamehash,
tokenIdToLabel,
} from "./subname-helpers";
} from "../src/lib/subname-helpers";

describe("isLabelIndexable", () => {
it("should return false for labels containing unindexable characters", () => {
Expand Down

0 comments on commit 09b2934

Please sign in to comment.