-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
something like
test "Create and Fetch User Flow" {
# Bring both bridges into scope
with Mutation.createUser as create
with Query.getUser as get
# 1. Setup the inputs for the Create mutation
create.name <- "Alice"
create.email <- "alice@example.com"
# 2. Chain the output of Create directly into the input of Get!
get.userId <- create.newUserId
# 3. Assertions
assert create.success == true
assert get.user.name == "Alice"
assert get.user.email == create.email
}
Reactions are currently unavailable