mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2025-09-14 05:00:10 +00:00

Mocha v10 requires the lib to be esm compliant. ESM mandates the use of file extensions in imports, so to minimize the changes (for now), we rely on the flag `experimental-specifier-resolution=node` and on `ts-node` (needed only for Node 20). Breaking changes: downstream bundlers might be affected by the package.json changes depending on how they load the library. NB: legacy package.json entrypoints are still available.
12 lines
415 B
JavaScript
12 lines
415 B
JavaScript
import testMessageSignatureBypess from './message_signature_bypass';
|
|
import testUnsignedSubpackets from './unsigned_subpackets';
|
|
import testSubkeyTrust from './subkey_trust';
|
|
import testPreferredAlgoMismatch from './preferred_algo_mismatch';
|
|
|
|
export default () => describe('Security', function () {
|
|
testMessageSignatureBypess();
|
|
testUnsignedSubpackets();
|
|
testSubkeyTrust();
|
|
testPreferredAlgoMismatch();
|
|
});
|