filer/tests/spec/filer.spec.js

17 lines
411 B
JavaScript
Raw Normal View History

var Filer = require('../../src');
2014-05-23 21:01:57 +00:00
var expect = require('chai').expect;
describe('Filer', function() {
it('is defined', function() {
2014-05-23 20:53:50 +00:00
expect(typeof Filer).not.to.equal(undefined);
});
it('has FileSystem constructor', function() {
2014-05-23 20:53:50 +00:00
expect(typeof Filer.FileSystem).to.equal('function');
});
it('has Shell constructor', function() {
expect(typeof Filer.Shell).to.equal('function');
});
2014-05-23 20:53:50 +00:00
});