feat: hoppscotch-backend dependency update (#4426) (HSB-489)

This commit is contained in:
Mir Arif Hasan
2024-10-17 03:46:54 +06:00
committed by GitHub
parent 28727cd6c2
commit 2a95ee8d19
7 changed files with 6304 additions and 4887 deletions

View File

@@ -153,6 +153,14 @@ const exampleSSOProfileData = {
photos: 'https://en.wikipedia.org/wiki/Dwight_Schrute',
};
beforeAll(() => {
process.env.DATA_ENCRYPTION_KEY = '12345678901234567890123456789012';
});
afterAll(() => {
delete process.env.DATA_ENCRYPTION_KEY; // Clean up after tests
});
beforeEach(() => {
mockReset(mockPrisma);
mockPubSub.publish.mockClear();