mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 19:37:49 +00:00
Add _.isNumber unit test for Firefox [xpconnect wrapped native prototype] issues.
Former-commit-id: d81b0bb7807139d14796c2a952294d1fd581f73a
This commit is contained in:
10
test/test.js
10
test/test.js
@@ -1170,6 +1170,16 @@
|
|||||||
|
|
||||||
/*--------------------------------------------------------------------------*/
|
/*--------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
QUnit.module('lodash.isNumber');
|
||||||
|
|
||||||
|
(function() {
|
||||||
|
test('should avoid `[xpconnect wrapped native prototype]` in Firefox', function() {
|
||||||
|
strictEqual(_.isNumber(+"2"), true);
|
||||||
|
});
|
||||||
|
}());
|
||||||
|
|
||||||
|
/*--------------------------------------------------------------------------*/
|
||||||
|
|
||||||
QUnit.module('lodash.isPlainObject');
|
QUnit.module('lodash.isPlainObject');
|
||||||
|
|
||||||
(function() {
|
(function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user