Skip to content

Commit

Permalink
fix: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
ntindle committed Oct 30, 2024
1 parent 69fd73b commit 86f1e68
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions autogpt_platform/frontend/src/tests/util.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ test.describe("Nested Property Setter Tests", () => {
for (const { name, path, value, expected } of testCases) {
test(name, () => {
const obj = {};
setNestedProperty(obj, path, value);
setNestedProperty(obj, path, value);
expect(obj).toEqual(expected);
});
}
Expand Down Expand Up @@ -92,7 +92,6 @@ test.describe("Nested Property Setter Tests", () => {
});

test.describe("Prototype Pollution Vulnerability Demo", () => {

test("secure implementation prevents prototype pollution", () => {
const obj = {};
expect(() => {
Expand Down

0 comments on commit 86f1e68

Please sign in to comment.