Remove auto-injected crypto polyfill (#132)
* Remove auto-injected crypto polyfill * Update
This commit is contained in:
+2
-2
@@ -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 ../..
|
||||
|
||||
@@ -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
|
||||
@@ -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 ../..
|
||||
Reference in New Issue
Block a user