1 | var expect = require('chai').expect;
|
2 | var index = require('../lib/index');
|
3 |
|
4 | describe('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 |