Feature/test suite (#169)
* Adding first run of the test environment * small tweaks * Fixing tests suite to ohif-viewer * Improving documentation and fixing versions * Removing commented lines
This commit is contained in:
1 parent
43a7e8151a
commit
bf68707ff2
7 files changed
+325
No files matched your search
@@ -0,0 +1,21 @@
|
||||
import { Meteor } from 'meteor/meteor';
|
||||
import { chai } from 'meteor/practicalmeteor:chai';
|
||||
import ReportService from 'meteor/lmieulet:meteor-coverage'
|
||||
|
||||
chai.should();
|
||||
|
||||
describe('Exporting coverage report', function() {
|
||||
it('Generating coverage report', function() { });
|
||||
|
||||
after(function() {
|
||||
const reportService = new ReportService.ReportService();
|
||||
const mockRes = { end: () => { }, writeHead: () => { } };
|
||||
|
||||
// The possible reports
|
||||
// Check https://github.com/serut/meteor-coverage
|
||||
reportService.generateReport(mockRes, 'text-summary', {});
|
||||
reportService.generateReport(mockRes, 'html', {});
|
||||
reportService.generateReport(mockRes, 'json-summary', {});
|
||||
reportService.generateReport(mockRes, 'lcovonly', {});
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user