add check that we are not from a fail fast
This commit is contained in:
parent
abf9d43a8c
commit
044ee4bd27
@ -33,6 +33,7 @@ describe("buzzer client works", () => {
|
|||||||
// buzzer should return an unlock
|
// buzzer should return an unlock
|
||||||
const buzzerActivatedResp = await fetch(buzzerUrl + `?From=${buzzerNumber}`).then(res => res.text());
|
const buzzerActivatedResp = await fetch(buzzerUrl + `?From=${buzzerNumber}`).then(res => res.text());
|
||||||
expect(buzzerActivatedResp).toContain("<Play");
|
expect(buzzerActivatedResp).toContain("<Play");
|
||||||
|
expect(buzzerActivatedResp).not.toContain("fail fast callback");
|
||||||
|
|
||||||
// door should now be closed
|
// door should now be closed
|
||||||
const infoResp = await fetch(baseUrl + `/api/door/info?door=${doorName}`).then(res => res.json()) as InfoResponseUI;
|
const infoResp = await fetch(baseUrl + `/api/door/info?door=${doorName}`).then(res => res.json()) as InfoResponseUI;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user