Run test matrix without sqs

This commit is contained in:
Dean 2024-05-02 17:09:47 +01:00
parent 56fd28eb54
commit 16e3e1b759
1 changed files with 199 additions and 192 deletions

View File

@ -172,6 +172,7 @@ describe.each([
} }
// Ensure all bindings resolve and perform as expected // Ensure all bindings resolve and perform as expected
!isSqs &&
describe("bindings", () => { describe("bindings", () => {
let globalUsers: any = [] let globalUsers: any = []
@ -188,7 +189,10 @@ describe.each([
name: "single user, session user", name: "single user, session user",
single_user: JSON.stringify([currentUser]), single_user: JSON.stringify([currentUser]),
}, },
{ name: "single user", single_user: JSON.stringify([globalUsers[0]]) }, {
name: "single user",
single_user: JSON.stringify([globalUsers[0]]),
},
{ {
name: "multi user", name: "multi user",
multi_user: JSON.stringify(globalUsers), multi_user: JSON.stringify(globalUsers),
@ -239,7 +243,10 @@ describe.each([
await expectQuery({ await expectQuery({
equal: { name: "{{ [user].firstName }}" }, equal: { name: "{{ [user].firstName }}" },
}).toContainExactly([ }).toContainExactly([
{ name: config.getUser().firstName, appointment: future.toISOString() }, {
name: config.getUser().firstName,
appointment: future.toISOString(),
},
]) ])
}) })