Current Folder
This commit is contained in:
1 parent
8b3382289b
commit
cfcada880d
4379 files changed
No files matched your search
-14
@@ -1,14 +0,0 @@
|
||||
"use strict";
|
||||
|
||||
var assert = require("chai").assert
|
||||
, identity = require("../../function/identity");
|
||||
|
||||
describe("function/identity", function () {
|
||||
it("Should return first argument", function () {
|
||||
assert.equal(identity("foo"), "foo");
|
||||
var object = {};
|
||||
assert.equal(identity(object), object);
|
||||
assert.equal(identity(), undefined);
|
||||
assert.equal(identity(1, 2, 3), 1);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user