diff --git a/scripts/bin-test/test.ts b/scripts/bin-test/test.ts index 54e3dbcad..655f6b68b 100644 --- a/scripts/bin-test/test.ts +++ b/scripts/bin-test/test.ts @@ -174,8 +174,7 @@ describe("functions.yaml", () => { try { const res = await fetch(`http://localhost:${port}/__/functions.yaml`); const text = await res.text(); - let parsed: any; - parsed = yaml.load(text); + const parsed = yaml.load(text); expect(parsed).to.be.deep.equal(tc.expected); } catch (err) { throw new Error(`Failed to parse functions.yaml: ${err}`);