Files
wasm/packages/wasm-crypto/test/jest.spec.js
T
Jaco Greeff bd18b42439 typescript-eslint 2 (#33)
* typescript-eslint 2

* Blind eslint fixes
2019-08-30 12:11:20 +02:00

19 lines
522 B
JavaScript

/* eslint-disable @typescript-eslint/no-var-requires */
// Copyright 2019 @polkadot/wasm-crypto authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
require('../build/crypto-polyfill');
const { beforeAll, tests, wasm } = require('./all');
describe('schnorrkel-js', () => {
beforeEach(async () => {
await beforeAll();
});
Object.keys(tests).forEach((name) => {
it(name, () => tests[name](wasm));
});
});