Skip to content
Permalink
Browse files
Re-apply fix for failing CordovaError test (#93)
This fix was first introduced in #65 and reverted by #89

Fixes #49
  • Loading branch information
raphinesse committed Oct 24, 2019
1 parent 27fd18e commit b75af03f89bfe991aec8ffee9b435e6436293805
Showing 1 changed file with 1 addition and 1 deletion.
@@ -34,7 +34,7 @@ describe('CordovaError class', function () {
it('Test 003 : toString works', function () {
var error003_1 = new CordovaError('error', 0);
expect(error003_1.toString(false)).toEqual('error');
expect(error003_1.toString(true).substring(0, 12)).toEqual('CordovaError');
expect(error003_1.toString(true)).toContain(error003_1.stack);
var error003_2 = new CordovaError('error', 1);
expect(error003_2.toString(false)).toEqual('External tool failed with an error: error');
});

0 comments on commit b75af03

Please sign in to comment.