Skip to content

Commit ffd49ac

Browse files
committed
super basic live test
1 parent d24c864 commit ffd49ac

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

tests/live/mobileWallet.test.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import { expect, test, describe } from "vitest";
2+
3+
const baseEndpoint = `https://infra-core-api.aws.qa.acmuiuc.org`;
4+
5+
describe("Mobile pass issuance", async () => {
6+
test("Test that passes will not be issued for non-members", async () => {
7+
const response = await fetch(
8+
`${baseEndpoint}/api/v1/mobileWallet/[email protected]`,
9+
);
10+
expect(response.status).toBe(403);
11+
});
12+
});

0 commit comments

Comments
 (0)