mirror of
https://github.com/status-im/web3.js.git
synced 2025-02-23 11:38:12 +00:00
Fix test coverage calculation (#467)
This commit is contained in:
parent
6fe1af06ea
commit
49bed91163
@ -6,7 +6,8 @@ SandboxedModule.registerBuiltInSourceTransformer('istanbul');
|
||||
var HttpProvider = SandboxedModule.require('../lib/web3/httpprovider', {
|
||||
requires: {
|
||||
'xmlhttprequest': require('./helpers/FakeXMLHttpRequest')
|
||||
}
|
||||
},
|
||||
singleOnly: true
|
||||
});
|
||||
|
||||
describe('lib/web3/httpprovider', function () {
|
||||
|
@ -8,7 +8,8 @@ SandboxedModule.registerBuiltInSourceTransformer('istanbul');
|
||||
var IpcProvider = SandboxedModule.require('../lib/web3/ipcprovider', {
|
||||
requires: {
|
||||
'bignumber.js': require('bignumber.js'),
|
||||
}
|
||||
},
|
||||
singleOnly: true
|
||||
});
|
||||
|
||||
describe('lib/web3/ipcprovider', function () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user