Skip to content

Commit caed0ae

Browse files
committed
test(data): add test for new function
Former-commit-id: 0cb0ef3
1 parent 7bcc44c commit caed0ae

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

packages/data/src/index.test.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import getSupportedNetworks from "./getSupportedNetworks"
2+
3+
describe("Data", () => {
4+
describe("# getSupportedNetworks", () => {
5+
it("Should return a list of supported networks", () => {
6+
const supportedNetworks = getSupportedNetworks()
7+
8+
expect(supportedNetworks).toHaveLength(6)
9+
expect(supportedNetworks).toContain("sepolia")
10+
})
11+
})
12+
})

0 commit comments

Comments
 (0)