Skip to content

Commit df35341

Browse files
committed
fix: tests
Signed-off-by: Adam Setch <[email protected]>
1 parent 79ba94b commit df35341

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/renderer/__helpers__/jest.setup.env.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,8 @@
55
export default () => {
66
// Sets timezone to UTC for consistent date/time in tests and snapshots
77
process.env.TZ = 'UTC';
8+
9+
// Mock OAuth client ID and secret
10+
process.env.OAUTH_CLIENT_ID = 'FAKE_CLIENT_ID_123';
11+
process.env.OAUTH_CLIENT_SECRET = 'FAKE_CLIENT_SECRET_123';
812
};

0 commit comments

Comments
 (0)