Swap to yarn 2 (#58)
* Swap to yarn 2 * Use polkadot-dev-run-test for jest * Try and fix JS tests via jest * Try via @polkadot/dev
This commit is contained in:
@@ -5,8 +5,6 @@
|
||||
|
||||
set -e
|
||||
|
||||
echo "*** Testing package"
|
||||
|
||||
echo "*** Testing WASM"
|
||||
node ./test/wasm.js
|
||||
|
||||
@@ -14,4 +12,6 @@ echo "*** Testing ASM.js"
|
||||
node ./test/asm.js
|
||||
|
||||
echo "*** Testing via Jest"
|
||||
yarn jest ./test/jest.spec.js
|
||||
yarn polkadot-dev-run-test ./test/jest.spec.js
|
||||
# FIXME, this should be via yarn
|
||||
# ../../node_modules/@polkadot/dev/scripts/polkadot-dev-run-test.js ./test/jest.spec.js
|
||||
|
||||
Reference in New Issue
Block a user