Files
wasm/packages/wasm-crypto/test/jest.spec.js
T
Jaco be4f3ce82c 2022 (#263)
* 2022

* Update scripts/rust-version.sh
2022-01-01 09:30:22 +02:00

21 lines
421 B
JavaScript

// Copyright 2019-2022 @polkadot/wasm-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
/**
* @jest-environment jsdom
*/
// override-require in jest.config.js
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));
});
});