Add tests

This commit is contained in:
Behind The Math committed 2018-04-09 23:31:04 -04:00
1 parent f3dd755a97
commit 39a96e51e7
7 files changed
+236

No files matched your search

+3
View File
@@ -10,5 +10,8 @@ tape("test extend method", function(t) {
t.notSame(obj, extended, "extended object doesn't have the same values as original object")
t.notSame(obj.two, extended.two, "extended object value overwrites value from original object")
extended = extend(null)
t.equals(extended, null, "passing null returns null")
t.end()
})