Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions app/tests/room.unit.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@ describe('entity tests', function(){
it('create user', function(done){
done();
})
it('should ', (done) => {
done()
});
})
5 changes: 5 additions & 0 deletions app/tests/test.spec.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
describe('test', function(){
it('test ', (done) => {
done()
});
})
10 changes: 10 additions & 0 deletions coverage/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<p>Report</p>
</body>
</html>
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ gulp.task('test', function () {
console.log('test task')
return gulp.src(['app/tests/*.js'])
// .pipe(debug({title: 'unicorn:'}))
.pipe(mocha({ timeout:10000, reporter: 'mochawesome' })) // mocha-allure-reporter , mochawesome
.pipe(mocha({ timeout:10000, reporter: 'mocha-allure-reporter' })) // mocha-allure-reporter , mochawesome
// Creating the reports after tests ran
// .pipe(istanbul.writeReports())
// Enforce a coverage of at least 90%
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@
"node-xmpp-server": "2.1.0",
"node_hash": "^0.2.0",
"nunjucks": "^1.3.4",
"nyc": "^13.1.0",
"on-finished": "^2.3.0",
"passport": "0.2.2",
"passport-http": "0.2.2",
Expand Down