From 2b3e7e7ab7d5e5513e7caacd537a905291a74153 Mon Sep 17 00:00:00 2001 From: Lawrence Forman Date: Fri, 30 Aug 2019 01:57:52 -0400 Subject: [PATCH] `@0x/dev-utils`: Remove no longer applicable test case in `chai_test.ts`. --- packages/dev-utils/test/chai_test.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/packages/dev-utils/test/chai_test.ts b/packages/dev-utils/test/chai_test.ts index aa8f6cebf4..32762679e0 100644 --- a/packages/dev-utils/test/chai_test.ts +++ b/packages/dev-utils/test/chai_test.ts @@ -68,13 +68,6 @@ describe('Chai tests', () => { const revert = new StringRevertError('foo'); expect(error).is.equal(revert); }); - it('should equate an empty ganache transaction revert error to any RevertError', () => { - const error: any = new Error(`VM Exception while processing transaction: revert`); - error.hashes = ['0x1']; - error.results = { '0x1': { error: 'revert', program_counter: 1, return: '0x', reason: undefined } }; - const revert = new StringRevertError('foo'); - expect(error).is.equal(revert); - }); it('should not equate a ganache transaction revert error with reason to a StringRevertError with a different message', () => { const message = 'foo'; const error: any = new Error(`VM Exception while processing transaction: revert ${message}`);