* Additional known secp256k1 test * Fix test * typo * ... one more typo * Adjust init to allow for asm/wasm or combo * Cleanup export, no internal cjs * Adjust sideEffects * CHANGELOG
19 lines
382 B
JavaScript
19 lines
382 B
JavaScript
// Copyright 2019-2022 @polkadot/wasm-crypto authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
/**
|
|
* @jest-environment jsdom
|
|
*/
|
|
|
|
import { beforeAll, tests, wasm } from './all/index.cjs';
|
|
|
|
describe('wasm-crypto', () => {
|
|
beforeEach(async () => {
|
|
await beforeAll();
|
|
});
|
|
|
|
Object.keys(tests).forEach((name) => {
|
|
it(name, () => tests[name](wasm));
|
|
});
|
|
});
|