diff --git a/package.json b/package.json index b40ce3a..125fa36 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,6 @@ "meow": "*" }, "devDependencies": { - "underscore": "1.7.0", "mocha": "2.0.1" }, "engines": { diff --git a/test/test_formats.js b/test/test_formats.js index df186ca..92a705a 100644 --- a/test/test_formats.js +++ b/test/test_formats.js @@ -1,7 +1,5 @@ var assert = require('assert'); -var _ = require('underscore'); - var dateFormat = require('../lib/dateformat'); var expects = { @@ -47,7 +45,7 @@ function timezoneOffset(date) { } describe('dateformat([now], [mask])', function() { - _.each(dateFormat.masks, function(value, key) { + Object.keys(dateFormat.masks).forEach(function(key) { it('should format `' + key + '` mask', function(done) { var now = new Date(2014, 10, 26, 13, 19, 44); var tzOffset = timezoneOffset(now);