diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 4267295..80b6ab5 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -27,6 +27,11 @@ jobs: - 8000:8000 steps: + - name: Configure AWS Credentials + uses: aws-actions/configure-aws-credentials@v4 + with: + aws-access-key-id: fake + aws-secret-access-key: fake - uses: actions/checkout@v2 - name: Install dependencies run: | diff --git a/backend/test/unit/api/votes-handler.spec.ts b/backend/test/unit/api/votes-handler.spec.ts index 6b0cfae..0b30df3 100644 --- a/backend/test/unit/api/votes-handler.spec.ts +++ b/backend/test/unit/api/votes-handler.spec.ts @@ -43,7 +43,7 @@ describe("handler", () => { const response = await handler({ queryStringParameters: { chamber: "bad" }, }); - expect(response).to.deep.equal({ + expect(response).to.deep.include({ statusCode: 400, body: "Invalid chamber", });