diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 399bb47a..3a1fcd1a 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -1,6 +1,9 @@ name: Package Tests on: + push: + branches: + - 'main' pull_request: branches: - "**" diff --git a/packages/protect/__tests__/protect.test.ts b/packages/protect/__tests__/protect.test.ts index b750b579..a9f4dcab 100644 --- a/packages/protect/__tests__/protect.test.ts +++ b/packages/protect/__tests__/protect.test.ts @@ -120,18 +120,13 @@ describe('encryption and decryption', () => { }) it('should encrypt and decrypt a payload', async () => { - console.log('process.env.CS_CLIENT_ID', process.env.CS_CLIENT_ID) const protectClient = await protect() - console.log('protectClient has been created') - const ciphertext = await protectClient.encrypt('plaintext', { column: 'column_name', table: 'users', }) - console.log('ciphertext has been created') - const plaintext = await protectClient.decrypt(ciphertext) expect(plaintext).toEqual('plaintext')