mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Merge branch 'master' of github.com:MetaMask/metamask-plugin into betterErrorsOnTx
This commit is contained in:
commit
de2cf4e9cd
5
.gitignore
vendored
5
.gitignore
vendored
@ -24,4 +24,7 @@ test/background.js
|
||||
test/bundle.js
|
||||
test/test-bundle.js
|
||||
|
||||
notes.txt
|
||||
notes.txt
|
||||
|
||||
.coveralls.yml
|
||||
.nyc_output
|
@ -1,4 +1,4 @@
|
||||
# MetaMask Plugin [![Build Status](https://circleci.com/gh/MetaMask/metamask-extension.svg?style=shield&circle-token=a1ddcf3cd38e29267f254c9c59d556d513e3a1fd)](https://circleci.com/gh/MetaMask/metamask-extension)
|
||||
# MetaMask Plugin [![Build Status](https://circleci.com/gh/MetaMask/metamask-extension.svg?style=shield&circle-token=a1ddcf3cd38e29267f254c9c59d556d513e3a1fd)](https://circleci.com/gh/MetaMask/metamask-extension) [![Coverage Status](https://coveralls.io/repos/github/MetaMask/metamask-extension/badge.svg?branch=master)](https://coveralls.io/github/MetaMask/metamask-extension?branch=master)
|
||||
|
||||
## Support
|
||||
|
||||
|
@ -482,7 +482,7 @@ module.exports = class TransactionController extends EventEmitter {
|
||||
if (!this.txProviderUtils.sufficientBalance(txMeta.txParams, balance)) {
|
||||
const message = 'Insufficient balance.'
|
||||
this.setTxStatusFailed(txMeta.id, {
|
||||
stack: '_resubnitTx: custom tx-controller error',
|
||||
stack: '_resubmitTx: custom tx-controller error',
|
||||
message,
|
||||
})
|
||||
log.error(message)
|
||||
|
@ -5,3 +5,6 @@ dependencies:
|
||||
pre:
|
||||
- "npm i -g testem"
|
||||
- "npm i -g mocha"
|
||||
test:
|
||||
override:
|
||||
- "npm run ci"
|
@ -13,6 +13,8 @@
|
||||
"test-unit": "METAMASK_ENV=test mocha --require test/helper.js --recursive \"test/unit/**/*.js\"",
|
||||
"single-test": "METAMASK_ENV=test mocha --require test/helper.js",
|
||||
"test-integration": "npm run buildMock && npm run buildCiUnits && testem ci -P 2",
|
||||
"test-coverage": "nyc npm run test-unit && nyc report --reporter=text-lcov | coveralls",
|
||||
"ci": "npm run lint && npm run test-coverage && npm run test-integration",
|
||||
"lint": "gulp lint",
|
||||
"buildCiUnits": "node test/integration/index.js",
|
||||
"watch": "mocha watch --recursive \"test/unit/**/*.js\"",
|
||||
@ -144,6 +146,7 @@
|
||||
"brfs": "^1.4.3",
|
||||
"browserify": "^13.0.0",
|
||||
"chai": "^3.5.0",
|
||||
"coveralls": "^2.13.1",
|
||||
"deep-freeze-strict": "^1.1.1",
|
||||
"del": "^2.2.0",
|
||||
"envify": "^4.0.0",
|
||||
@ -170,6 +173,7 @@
|
||||
"mocha-jsdom": "^1.1.0",
|
||||
"mocha-sinon": "^1.1.5",
|
||||
"nock": "^8.0.0",
|
||||
"nyc": "^11.0.3",
|
||||
"open": "0.0.5",
|
||||
"prompt": "^1.0.0",
|
||||
"qs": "^6.2.0",
|
||||
|
Loading…
Reference in New Issue
Block a user