'use strict';
import assert from 'power-assert';
import { encryptData, decryptData } from '../lib/utils/cryptData';

it('should not encrypt empty string', () => {
  assert.strictEqual(encryptData(''), '');
});

@@ -203,8 +203,241 @@
 ');%0A%7D);%0A
+it('should decrypt empty string', () =%3E %7B%0A  assert.strictEqual(decryptData(''), '');%0A%7D);%0Ait('should decrypt encrypted value', () =%3E %7B%0A  const expected = '1234';%0A  assert.strictEqual(decryptData(encryptData(expected)), expected);%0A%7D);%0A

add test(fail)