We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20bd1ba commit dc9adaaCopy full SHA for dc9adaa
TestRunner/app/tests/ApiTests.js
@@ -337,7 +337,7 @@ describe(module.id, function () {
337
expect(e.nativeException).toBeDefined();
338
// The wrapped object should behave like an NSError proxy/wrapper
339
// (we assert existence of localizedDescription property)
340
- expect(typeof e.nativeException.localizedDescription === "string" || e.nativeException.localizedDescription instanceof String).toBe(true);
+ expect(typeof e.nativeException.localizedDescription).toBe('string');
341
} finally {
342
expect(isThrown).toBe(true);
343
}
0 commit comments