From d35c6f07b52fbf2dfeb62fffa6eb0aa4c7a13f79 Mon Sep 17 00:00:00 2001 From: Pavel Fomchenkov Date: Tue, 24 Sep 2024 21:46:11 +0200 Subject: [PATCH] Add comments for improve readability online - https://github.com/honojs/examples/issues/213 --- src/index.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.test.ts b/src/index.test.ts index 4cc5045..5dd7340 100644 --- a/src/index.test.ts +++ b/src/index.test.ts @@ -12,7 +12,7 @@ describe('Environment', () => { const env = await res.json(); expect(env).toHaveProperty('MY_VAR'); - expect(env.MY_VAR).toBe(process.env.MY_VAR); + expect(env.MY_VAR).toBe(process.env.MY_VAR); // passes }); it('Should contain overrides from MOCK_ENV', async () => { @@ -21,6 +21,6 @@ describe('Environment', () => { const env = await res.json(); expect(env).toHaveProperty('MY_VAR'); - expect(env.MY_VAR).toBe(MOCK_ENV.MY_VAR); + expect(env.MY_VAR).toBe(MOCK_ENV.MY_VAR); // fails }); });