cluedin-widget
Version:
This project contains all the pages needed for browsing entities and searching them. The aim is to replace the CluedIn.Webapp project with this one when all the pages ( including the Admin page ) will be ported to REACT.
16 lines (14 loc) • 545 B
JavaScript
require( 'should' );
var fileNameBuilder = require( '../src/fileNameBuilder' );
describe( 'Given a fileNameBUilder', function() {
it( 'should exist', function() {
fileNameBuilder.should.exist;
} );
it( 'should have a getFileName method', function() {
fileNameBuilder.getFileName.should.exist;
} );
it( 'when passing a code, should return a pth', function() {
var sut = fileNameBuilder.getFileName( 'test' );
sut.should.equal( '/Users/dervalp/src/cluedin-widget/temp/test.js' );
} );
} );