Skip to content

Commit

Permalink
Fix integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Stewart committed Nov 7, 2023
1 parent 3830624 commit c286ab3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/locations/graph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ export const fragments = gql`
zip
country
}
allowOnlineBooking
allowOnlineRescheduling
arrivalInstructions
avatar
businessName
Expand Down
4 changes: 3 additions & 1 deletion tests/integration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ describe("carts", () => {
test("create and set location", async () => {
const locations = await anon.locations.list();
const cart = await anon.carts.create();

expect(cart).toBeInstanceOf(Cart);
let categories = await cart.getAvailableCategories();
const item = categories[0].availableItems[0] as CartAvailableBookableItem;
Expand Down Expand Up @@ -207,7 +208,8 @@ describe("carts", () => {
number: "4242424242424242",
cvv: "111",
exp_month: 1,
exp_year: 2025
exp_year: 2025,
address_postal_code: "90210"
}
});

Expand Down

0 comments on commit c286ab3

Please sign in to comment.