From 2276740fa13c17a9ad26c1a84fbe4ee536316233 Mon Sep 17 00:00:00 2001 From: Daniel Young Lee Date: Wed, 1 Nov 2023 13:20:53 -0700 Subject: [PATCH] Try harder. --- scripts/bin-test/test.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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}`);