mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 23:57:49 +00:00
Wrap fp.getOr test in an IIFE.
This commit is contained in:
@@ -1105,12 +1105,14 @@
|
||||
|
||||
QUnit.module('fp.getOr');
|
||||
|
||||
QUnit.test('should accept a `defaultValue` param', function(assert) {
|
||||
assert.expect(1);
|
||||
(function() {
|
||||
QUnit.test('should accept a `defaultValue` param', function(assert) {
|
||||
assert.expect(1);
|
||||
|
||||
var actual = fp.getOr('default')('path')({});
|
||||
assert.strictEqual(actual, 'default');
|
||||
});
|
||||
var actual = fp.getOr('default')('path')({});
|
||||
assert.strictEqual(actual, 'default');
|
||||
});
|
||||
}());
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user