Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelTshDev committed Apr 8, 2024
1 parent b6be7a5 commit 79edb25
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ We support ASL for Step Functions. Make sure to install AWS Toolkit so you can r

### SonarQube configuration

Before deployment make sure to create a new SonarQube project. After that set proper repository variables (`SONAR_TOKEN` and `SONAR_HOST_URL`) and properties in `sonar-project.properties` file.
Before deployment, please ensure that a related SonarQube project has been created. After that set proper repository variables (`SONAR_TOKEN` and `SONAR_HOST_URL`) and properties in `sonar-project.properties` file.

##

Expand Down
8 changes: 4 additions & 4 deletions functions/example-lambda/tests/handler.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ describe("test endpoint", () => {
queryStringParameters: { ...params, ...filters }
});

const parshedResponse = JSON.parse(response.body);
const parsedResponse = JSON.parse(response.body);
assert.equal(response.statusCode, StatusCodes.OK);
assert.deepEqual(parshedResponse, { meta: { pagination, ...filters }, data });
assert.deepEqual(parsedResponse, { meta: { pagination, ...filters }, data });
});

it("shouldn't return filters if they are not available", async () => {
Expand All @@ -82,9 +82,9 @@ describe("test endpoint", () => {
}
});

const parshedResponse = JSON.parse(response.body);
const parsedResponse = JSON.parse(response.body);
assert.equal(response.statusCode, StatusCodes.OK);
assert.deepEqual(parshedResponse, { meta: { pagination, sort: { id: "ASC" }, filter: { lastName: "Doe" }}, data });
assert.deepEqual(parsedResponse, { meta: { pagination, sort: { id: "ASC" }, filter: { lastName: "Doe" }}, data });
});
});
});

0 comments on commit 79edb25

Please sign in to comment.