MCPcopy Create free account
hub / github.com/coder5876/simple-multisig / creationFailure

Function creationFailure

test/simplemultisig.js:166–178  ·  view source on GitHub ↗
(owners, threshold, done)

Source from the content-addressed store, hash-verified

164 }
165
166 let creationFailure = async function(owners, threshold, done) {
167
168 try {
169 await SimpleMultiSig.new(threshold, owners, CHAINID, {from: accounts[0]})
170 }
171 catch(error) {
172 errMsg = error.message
173 }
174
175 assert.equal(errMsg, 'VM Exception while processing transaction: revert', 'Test did not throw')
176
177 done()
178 }
179
180 before((done) => {
181

Callers 1

simplemultisig.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected