spider-officegen
Version:
Office Open XML Generator using Node.js streams. Supporting Microsoft Office 2007 and later Word (docx), PowerPoint (pptx,ppsx) and Excel (xlsx). This module is for all frameworks and environments. No need for any commandline tool - this module is doing e
22 lines (18 loc) • 546 B
JavaScript
// Assert tools needed:
var chai = require ( 'chai' );
var assert = chai.assert;
var expect = chai.expect;
// The package under test:
var officegen = require('../');
describe ( 'Officegen internals test suits', function () {
describe ( 'basicgen test suit', function () {
// Executed before each test:
beforeEach ( function ( done ) {
done ();
});
it ( 'plugins#getPrototypeByName ()', function ( done ) {
expect ( officegen.plugins.getPrototypeByName ( 'msoffice' ) ).to.be.an ( 'object' ).to.be.ok;
done ();
});
});
});