Remove auto-injected crypto polyfill (#132)

* Remove auto-injected crypto polyfill

* Update
This commit is contained in:
Jaco Greeff
2020-11-02 21:17:11 +01:00
committed by GitHub
parent cc63edbd5c
commit 1d7addf6ef
6 changed files with 49 additions and 33 deletions
+2 -2
View File
@@ -9,9 +9,9 @@ echo "*** Building packages"
cd packages/wasm-crypto
../../scripts/build-package.sh
../../scripts/test-package.sh
rm -rf build/*-e build/package.json build/README.md
yarn test:wasm:js
ls -alR build
cd ../..
-15
View File
@@ -1,15 +0,0 @@
#!/usr/bin/env bash
# Copyright 2019-2020 @polkadot/wasm authors & contributors
# This software may be modified and distributed under the terms
# of the Apache-2.0 license. See the LICENSE file for details.
set -e
echo "*** Testing WASM"
node ./test/wasm.js
echo "*** Testing ASM.js"
node ./test/asm.js
echo "*** Testing via Jest"
yarn polkadot-dev-run-test ./test/jest.spec.js
-12
View File
@@ -1,12 +0,0 @@
#!/usr/bin/env bash
# Copyright 2019-2020 @polkadot/wasm authors & contributors
# This software may be modified and distributed under the terms
# of the Apache-2.0 license. See the LICENSE file for details.
set -e
cd packages/wasm-crypto
RUST_BACKTRACE=full cargo test --release -- --nocapture
cd ../..