@tscircuit/fake-snippets 0.0.112 → 0.0.114

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  import { getTestServer } from "bun-tests/fake-snippets-api/fixtures/get-test-server"
2
2
  import { expect, test } from "bun:test"
3
3
 
4
- test("GET /api/orgs/get - should return org by org_id 69", async () => {
4
+ test("GET /api/orgs/get - should return org by org_id", async () => {
5
5
  const { axios, jane_axios, seed } = await getTestServer()
6
6
 
7
7
  const getResponse = await jane_axios.get("/api/orgs/get", {
@@ -14,10 +14,10 @@ test("GET /orgs/list_members returns members for an org when owner", async () =>
14
14
  } = await jane_axios.get(
15
15
  `/api/orgs/list_members?org_id=${seed.organization.org_id}`,
16
16
  )
17
-
18
17
  expect(Array.isArray(members)).toBe(true)
19
18
  const membership = members.find(
20
19
  (m: any) => m.account_id === seed.account.account_id,
21
20
  )
22
21
  expect(membership).toBeDefined()
22
+ expect(membership.joined_at).toBeDefined()
23
23
  })