Skip to content

Commit

Permalink
style(binding-http/test/http-server-test): fix eslint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
relu91 committed Jan 17, 2025
1 parent e55f6b0 commit f6162dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/binding-http/test/http-server-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class HttpServerTest {
actions: {},
});

let test: DataSchemaValue = "ok";
const test: DataSchemaValue = "ok";
testThing.setPropertyReadHandler("testMiddleware", () => Promise.resolve(test));
testThing.setPropertyReadHandler("testPassthrough", () => Promise.resolve(test));

Expand Down Expand Up @@ -587,7 +587,7 @@ class HttpServerTest {
},
},
});
let test: DataSchemaValue = null;
const test: DataSchemaValue = null;
testThing.setPropertyReadHandler("test", async (options) => {
expect(options?.uriVariables).to.deep.equal({ id: "testId", globalVarTest: "test1" });
return test;
Expand Down

0 comments on commit f6162dd

Please sign in to comment.