Skip to content

Commit

Permalink
fix(tests): update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tunnckoCore committed Sep 12, 2016
1 parent 4449f8f commit 1752f2a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,13 @@
var test = require('mukla')
var utils = require('./index')

test('should expose `.isArray`, `isBuffer`, `isObject`', function (done) {
test('should expose 7 methods', function (done) {
test.strictEqual(typeof utils.isArray, 'function')
test.strictEqual(typeof utils.isBuffer, 'function')
test.strictEqual(typeof utils.isObject, 'function')
done()
})

test('should expose `.extend`, `arrayify` and `isExtendable`', function (done) {
test.strictEqual(typeof utils.extend, 'function')
test.strictEqual(typeof utils.arrayify, 'function')
test.strictEqual(typeof utils.isExtendable, 'function')
test.strictEqual(typeof utils.merge, 'function')
done()
})

0 comments on commit 1752f2a

Please sign in to comment.