Skip to content

Commit 18d51bc

Browse files
kriswestjescalada
andauthored
Apply suggestions from code review
Co-authored-by: Juan Escalada <[email protected]> Signed-off-by: Kris West <[email protected]>
1 parent a5a1d95 commit 18d51bc

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/db/file/pushes.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ import { PushQuery } from '../types';
66

77
const COMPACTION_INTERVAL = 1000 * 60 * 60 * 24; // once per day
88

9-
// these don't get coverage in tests as they have already been run once before the test
10-
/* istanbul ignore if */
11-
129
// export for testing purposes
1310
export let db: Datastore;
1411
if (process.env.NODE_ENV === 'test') {

test/proxy.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,6 @@ describe.skip('Proxy Module TLS Certificate Loading', () => {
102102
close: vi.fn(),
103103
} as any);
104104

105-
process.env.NODE_ENV = 'test';
106-
process.env.GIT_PROXY_HTTPS_SERVER_PORT = '8443';
107105

108106
const ProxyClass = (await import('../src/proxy/index')).Proxy;
109107
proxyModule = new ProxyClass();

0 commit comments

Comments
 (0)