|
|
@ -120,11 +120,11 @@ describe('testRunner', () => { |
|
|
|
deepEqualExcluding(tests, [ |
|
|
|
deepEqualExcluding(tests, [ |
|
|
|
{ type: 'accountList', value: accounts }, |
|
|
|
{ type: 'accountList', value: accounts }, |
|
|
|
{ type: 'contract', value: 'MyTest', filename: 'tests/examples_1/simple_storage_test.sol' }, |
|
|
|
{ type: 'contract', value: 'MyTest', filename: 'tests/examples_1/simple_storage_test.sol' }, |
|
|
|
{ type: 'testPass', value: 'Should trigger one pass', context: 'MyTest' }, |
|
|
|
|
|
|
|
{ type: 'testFailure', value: 'Should trigger one fail', errMsg: 'uint test 1 fails', context: 'MyTest' }, |
|
|
|
|
|
|
|
{ type: 'testPass', value: 'Initial value should not be200', context: 'MyTest' }, |
|
|
|
{ type: 'testPass', value: 'Initial value should not be200', context: 'MyTest' }, |
|
|
|
|
|
|
|
{ type: 'testFailure', value: 'Should trigger one fail', errMsg: 'uint test 1 fails', context: 'MyTest' }, |
|
|
|
|
|
|
|
{ type: 'testPass', value: 'Should trigger one pass', context: 'MyTest' }, |
|
|
|
{ type: 'testPass', value: 'Initial value should be100', context: 'MyTest' } |
|
|
|
{ type: 'testPass', value: 'Initial value should be100', context: 'MyTest' } |
|
|
|
], ['time']) |
|
|
|
], ['time', 'value']) |
|
|
|
}) |
|
|
|
}) |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|