Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[rfc ...] test: use verbose spec reporter #643

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
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
Prev Previous commit
Next Next commit
adjust spec reporter settings to minimize extra printouts
Co-authored-by: エリス <[email protected]>
Co-authored-by: Christopher J. Brody <[email protected]>
Christopher J. Brody and erisu committed Feb 17, 2020
commit bf8f5a36aaf929921b329c40f20524e992a3431e
15 changes: 13 additions & 2 deletions tests/spec/helper.js
Original file line number Diff line number Diff line change
@@ -20,12 +20,23 @@ const SpecReporter = require('jasmine-spec-reporter').SpecReporter;

jasmine.getEnv().clearReporters();
jasmine.getEnv().addReporter(new SpecReporter({
suite: {
displayNumber: true
},
spec: {
displayErrorMessages: true,
displayStacktrace: true,
displaySuccessful: false,
displayFailed: true,
displayPending: true,
displayDuration: true
},
summary: {
displayDuration: true,
displayStacktrace: true
displayErrorMessages: false,
displayStacktrace: false,
displaySuccessful: false,
displayFailed: false,
displayPending: false,
displayDuration: true
}
}));