Commit 96f3ed79 authored by Mark Stenglein's avatar Mark Stenglein

Fully defines the first test to make it an example for the others.

parent 4082849a
......@@ -5,11 +5,13 @@ var fs = require('fs');
describe('ical-generator 0.3.x / ICalTimezone', function() {
'use strict';
it('required file should return a function', function() {
it('Module exports type', function() {
var vTZ = require(path.join(__dirname, '..', 'lib', 'timezone'));
var actual = typeof(vTZ);
var expected = 'function';
assert.equal(actual, expected);
assert.equal(actual, expected,
'timezone.js should return a function');
});
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment