Skip to content
Permalink
Browse files
Fix failing CordovaError test
Fixes #49
  • Loading branch information
raphinesse committed Apr 1, 2019
1 parent 83b27cd commit b95bd840d7a7ecb74f3cf1d640410bad8c69fb44
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 b95bd84

Please sign in to comment.