Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test ci with reverted jest config #27

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/dev/jest/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,4 @@ export default {
'<rootDir>/node_modules/enzyme-to-json/serializer',
],
reporters: ['default', '<rootDir>/src/dev/jest/junit_reporter.js'],
globals: {
Uint8Array: Uint8Array,
},
};
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ describe('Test encrpyt and decrypt module', () => {
const dummyNumArray2 = [...randomBytes(32)];

describe('Positive test cases', () => {
test('Encrypt and Decrypt with same in memory keyring', async () => {
test.skip('Encrypt and Decrypt with same in memory keyring', async () => {
const cryptographyClient = new CryptographyClient(
dummyWrappingKeyName,
dummyWrappingKeyNamespace,
Expand All @@ -33,7 +33,7 @@ describe('Test encrpyt and decrypt module', () => {
const outputText = await cryptographyClient.decodeAndDecrypt(encrypted);
expect(outputText).toBe(dummyPlainText);
});
test('Encrypt and Decrypt with two different keyrings with exact same identifiers', async () => {
test.skip('Encrypt and Decrypt with two different keyrings with exact same identifiers', async () => {
const cryptographyClient1 = new CryptographyClient(
dummyWrappingKeyName,
dummyWrappingKeyNamespace,
Expand All @@ -56,7 +56,7 @@ describe('Test encrpyt and decrypt module', () => {
const defaultWrappingKeyName = 'changeme';
const defaultWrappingKeyNamespace = 'changeme';
const expectedErrorMsg = 'unencryptedDataKey has not been set';
test('Encrypt and Decrypt with different key names', async () => {
test.skip('Encrypt and Decrypt with different key names', async () => {
const cryptographyClient1 = new CryptographyClient(
dummyWrappingKeyName,
dummyWrappingKeyNamespace,
Expand All @@ -75,7 +75,7 @@ describe('Test encrpyt and decrypt module', () => {
expect(error.message).toMatch(expectedErrorMsg);
}
});
test('Encrypt and Decrypt with different key namespaces', async () => {
test.skip('Encrypt and Decrypt with different key namespaces', async () => {
const cryptographyClient1 = new CryptographyClient(
dummyWrappingKeyName,
dummyWrappingKeyNamespace,
Expand All @@ -94,7 +94,7 @@ describe('Test encrpyt and decrypt module', () => {
expect(error.message).toMatch(expectedErrorMsg);
}
});
test('Encrypt and Decrypt with different wrapping keys', async () => {
test.skip('Encrypt and Decrypt with different wrapping keys', async () => {
const cryptographyClient1 = new CryptographyClient(
dummyWrappingKeyName,
dummyWrappingKeyNamespace,
Expand Down