UNPKG

generator-confit

Version:

Yeoman generator for creating the development process, tools and a sample project for current-generation web applications

10 lines (8 loc) 329 B
'use strict'; const componentUnderTest = require('../<%= paths.input.srcDir %>demo/index'); const assert = require('assert'); // Node's assert library describe('Sample App', () => { it('should have a hello() function which says "hello"', () => { assert.equal(componentUnderTest.hello('Brett'), 'hello Brett'); }); });