From ad600535e45ea16f3814486fe6542af20d682b4f Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Wed, 22 Mar 2017 23:22:04 -0700 Subject: [PATCH] [Tests] `parseInt`: add another test for NaN parsing Relates to #433. --- tests/spec/s-global.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/spec/s-global.js b/tests/spec/s-global.js index 96206815..707a134b 100644 --- a/tests/spec/s-global.js +++ b/tests/spec/s-global.js @@ -69,6 +69,7 @@ describe('global methods', function () { }); it('NaN parsing', function () { + expect(parseInt()).toBeNaN(); expect(parseInt(undefined)).toBeNaN(); expect(parseInt(null)).toBeNaN(); expect(parseInt(NaN)).toBeNaN();