aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-01-16 21:01:46 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-01-16 21:01:46 +0800
commit7040a01cf2d154e16ab97fe0bfcb9297962eb77a (patch)
tree0b2921ff307b63ea581781a3370e9adc1ffe0c17
parent6bc0e815e965921e6f3e02bf921ce01d5fad10e2 (diff)
downloaddexon-sol-tools-7040a01cf2d154e16ab97fe0bfcb9297962eb77a.tar
dexon-sol-tools-7040a01cf2d154e16ab97fe0bfcb9297962eb77a.tar.gz
dexon-sol-tools-7040a01cf2d154e16ab97fe0bfcb9297962eb77a.tar.bz2
dexon-sol-tools-7040a01cf2d154e16ab97fe0bfcb9297962eb77a.tar.lz
dexon-sol-tools-7040a01cf2d154e16ab97fe0bfcb9297962eb77a.tar.xz
dexon-sol-tools-7040a01cf2d154e16ab97fe0bfcb9297962eb77a.tar.zst
dexon-sol-tools-7040a01cf2d154e16ab97fe0bfcb9297962eb77a.zip
Remove umd tests
-rw-r--r--packages/0x.js/package.json7
-rwxr-xr-xpackages/0x.js/scripts/test_umd.sh6
2 files changed, 1 insertions, 12 deletions
diff --git a/packages/0x.js/package.json b/packages/0x.js/package.json
index 1f11c43d6..12416fa4a 100644
--- a/packages/0x.js/package.json
+++ b/packages/0x.js/package.json
@@ -14,21 +14,16 @@
"generate_contract_wrappers":
"node ../abi-gen/lib/index.js --abiGlob 'src/artifacts/@(Exchange|Token|TokenTransferProxy|EtherToken|TokenRegistry|DummyToken).json' --templates contract_templates --output src/contract_wrappers/generated",
"lint": "tslint --project . 'src/**/*.ts' 'test/**/*.ts'",
- "test:circleci":
- "run-s test:coverage report_test_coverage && if [ $CIRCLE_BRANCH = \"development\" ]; then yarn test:umd; fi",
+ "test:circleci": "run-s test:coverage report_test_coverage",
"test": "run-s clean test:commonjs",
- "test:umd": "./scripts/test_umd.sh",
"test:coverage": "nyc npm run test --all",
"report_test_coverage": "nyc report --reporter=text-lcov | coveralls",
"update_contracts":
"for i in ${npm_package_config_artifacts}; do copyfiles -u 4 ../contracts/build/contracts/$i.json ../0x.js/src/artifacts; done;",
"clean": "shx rm -rf _bundles lib test_temp",
- "build:umd:dev": "webpack",
"build:umd:prod": "NODE_ENV=production webpack",
"build:commonjs": "tsc && copyfiles -u 2 './src/artifacts/**/*.json' ./lib/src/artifacts;",
"test:commonjs": "run-s build:commonjs run_mocha",
- "pretest:umd": "run-s clean build:umd:dev build:commonjs",
- "substitute_umd_bundle": "shx mv _bundles/* lib/src",
"run_mocha": "mocha lib/test/**/*_test.js --timeout 10000 --bail --exit"
},
"config": {
diff --git a/packages/0x.js/scripts/test_umd.sh b/packages/0x.js/scripts/test_umd.sh
deleted file mode 100755
index e3eba088a..000000000
--- a/packages/0x.js/scripts/test_umd.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/usr/bin/env bash
-# This script runs umd tests and cleans up after them while preserving the `return_code` for CI
-# UMD tests should only be run after building the commonjs because they reuse some of the commonjs build artifacts
-run-s substitute_umd_bundle run_mocha
-return_code=$?
-exit $return_code