UNPKG

309 BJavaScriptView Raw
1var expect = require('chai').expect;
2var index = require('../lib/index');
3
4describe('Testing create file function', function () {
5
6 it('createFile should throw an error if not passed a file name', function () {
7 expect(function () { index.createFile() }).to.throw('Missing class name');
8 });
9
10});
\No newline at end of file