Initial npm project with mocha and chai
This commit is contained in:
Executable
+8
@@ -0,0 +1,8 @@
|
||||
const assert = require('chai').assert;
|
||||
const app = require('../app');
|
||||
|
||||
describe('App', () => {
|
||||
it('should greet with Hello World!', () => {
|
||||
assert.equal(app(), 'Hello World!');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user