pkg: switch to bmocha.

This commit is contained in:
Christopher Jeffrey 2018-11-29 03:22:57 -08:00
parent 869b76c450
commit 1436c97dbe
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -23,37 +23,37 @@
"node": ">=8.0.0" "node": ">=8.0.0"
}, },
"dependencies": { "dependencies": {
"bcfg": "~0.1.3", "bcfg": "~0.1.4",
"bclient": "~0.1.4", "bclient": "~0.1.5",
"bcrypto": "~3.0.0", "bcrypto": "~3.0.1",
"bdb": "~1.1.2", "bdb": "~1.1.3",
"bdns": "~0.1.2", "bdns": "~0.1.3",
"bevent": "~0.1.2", "bevent": "~0.1.3",
"bfile": "~0.1.2", "bfile": "~0.1.3",
"bfilter": "~1.0.2", "bfilter": "~1.0.3",
"bheep": "~0.1.2", "bheep": "~0.1.3",
"binet": "~0.3.2", "binet": "~0.3.3",
"blgr": "~0.1.3", "blgr": "~0.1.4",
"blru": "~0.1.3", "blru": "~0.1.4",
"blst": "~0.1.2", "blst": "~0.1.3",
"bmutex": "~0.1.3", "bmutex": "~0.1.4",
"bsert": "~0.0.4", "bsert": "~0.0.5",
"bsip": "~0.1.3", "bsip": "~0.1.4",
"bsock": "~0.1.3", "bsock": "~0.1.4",
"bsocks": "~0.2.2", "bsocks": "~0.2.3",
"bstring": "~0.3.3", "bstring": "~0.3.4",
"btcp": "~0.1.2", "btcp": "~0.1.3",
"buffer-map": "~0.0.3", "buffer-map": "~0.0.4",
"bufio": "~1.0.2", "bufio": "~1.0.3",
"bupnp": "~0.2.3", "bupnp": "~0.2.4",
"bval": "~0.1.3", "bval": "~0.1.4",
"bweb": "~0.1.5", "bweb": "~0.1.6",
"mrmr": "~0.1.3", "mrmr": "~0.1.4",
"n64": "~0.2.3" "n64": "~0.2.4"
}, },
"devDependencies": { "devDependencies": {
"istanbul": "^1.1.0-alpha.1", "bmocha": "^0.1.0",
"mocha": "^5.2.0" "istanbul": "^1.1.0-alpha.1"
}, },
"main": "./lib/bcoin.js", "main": "./lib/bcoin.js",
"bin": { "bin": {
@ -69,11 +69,11 @@
"lint": "eslint $(cat .eslintfiles) || exit 0", "lint": "eslint $(cat .eslintfiles) || exit 0",
"lint-ci": "eslint $(cat .eslintfiles)", "lint-ci": "eslint $(cat .eslintfiles)",
"lint-file": "eslint", "lint-file": "eslint",
"test": "mocha --reporter spec test/*.js", "test": "bmocha --reporter spec test/*.js",
"test-browser": "NODE_BACKEND=js mocha --reporter spec test/*.js", "test-browser": "NODE_BACKEND=js bmocha --reporter spec test/*.js",
"test-file": "mocha --reporter spec", "test-file": "bmocha --reporter spec",
"test-file-browser": "NODE_BACKEND=js mocha --reporter spec", "test-file-browser": "NODE_BACKEND=js bmocha --reporter spec",
"test-ci": "istanbul cover node_modules/.bin/_mocha --report lcovonly -- --reporter spec test/*.js", "test-ci": "istanbul cover --report lcovonly node_modules/.bin/bmocha -- --reporter spec test/*-test.js",
"webpack": "webpack --mode production --config webpack.browser.js", "webpack": "webpack --mode production --config webpack.browser.js",
"webpack-browser": "webpack --mode production --config webpack.browser.js", "webpack-browser": "webpack --mode production --config webpack.browser.js",
"webpack-compat": "webpack --mode production --config webpack.compat.js", "webpack-compat": "webpack --mode production --config webpack.compat.js",