|
|
|
@ -50,9 +50,9 @@ describe('testRunner', function () { |
|
|
|
|
|
|
|
|
|
it('should returns 3 messages', function () { |
|
|
|
|
assert.deepEqual(tests, [ |
|
|
|
|
{ type: 'contract', value: 'MyTest' }, |
|
|
|
|
{ type: 'testPass', value: 'Initial value should be100' }, |
|
|
|
|
{ type: 'testFailure', value: 'Initial value should be200' } |
|
|
|
|
{ type: 'contract', value: 'MyTest' }, |
|
|
|
|
{ type: 'testPass', value: 'Initial value should be100', time: 1 }, |
|
|
|
|
{ type: 'testFailure', value: 'Initial value should be200', time: 1 } |
|
|
|
|
]) |
|
|
|
|
}) |
|
|
|
|
}) |
|
|
|
@ -85,8 +85,8 @@ describe('testRunner', function () { |
|
|
|
|
it('should returns 3 messages', function () { |
|
|
|
|
assert.deepEqual(tests, [ |
|
|
|
|
{ type: 'contract', value: 'MyTest' }, |
|
|
|
|
{ type: 'testPass', value: 'Initial value should be100' }, |
|
|
|
|
{ type: 'testPass', value: 'Initial value should be200' } |
|
|
|
|
{ type: 'testPass', value: 'Initial value should be100', time: 1 }, |
|
|
|
|
{ type: 'testPass', value: 'Initial value should be200', time: 1 } |
|
|
|
|
]) |
|
|
|
|
}) |
|
|
|
|
}) |
|
|
|
|