Remove test polyfill, only include in tests (#322)
* Remove test polyfill, only include in tests * Test polyfill for keyring
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
// This software may be modified and distributed under the terms
|
||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
||||
|
||||
import '@polkadot/util-crypto/schnorrkel/test-polyfill';
|
||||
|
||||
import { hexToU8a, stringToU8a } from '@polkadot/util/index';
|
||||
import { cryptoWaitReady } from '@polkadot/util-crypto/index';
|
||||
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
// This software may be modified and distributed under the terms
|
||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
||||
|
||||
import '../test-polyfill';
|
||||
|
||||
import { stringToU8a } from '@polkadot/util/index';
|
||||
|
||||
import { schnorrkelKeypairFromSeed, schnorrkelWaitReady } from '../index';
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
// This software may be modified and distributed under the terms
|
||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
||||
|
||||
import './test-polyfill';
|
||||
|
||||
describe('ready', () => {
|
||||
let globalWA: typeof WebAssembly;
|
||||
|
||||
|
||||
-1
@@ -3,7 +3,6 @@
|
||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
||||
|
||||
import '@polkadot/util/polyfill';
|
||||
import './polyfill';
|
||||
|
||||
// export * from '@parity/schnorrkel-js';
|
||||
export * from '@polkadot/schnorrkel-js';
|
||||
@@ -2,6 +2,8 @@
|
||||
// This software may be modified and distributed under the terms
|
||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
||||
|
||||
import './test-polyfill';
|
||||
|
||||
import { stringToU8a } from '@polkadot/util/index';
|
||||
|
||||
import randomAsU8a from '../random/asU8a';
|
||||
|
||||
Reference in New Issue
Block a user