#77 new
TJ Holowaychuk

Add merging of options from run() or report()

Reported by TJ Holowaychuk | April 16th, 2009 @ 02:40 AM

So:


JSpec.options.formatter = JSpec.formatters.Terminal

JSpec
.exec('spec/spec.grammar.js')
.exec('spec/spec.core.js')
.run()
.report()

May become:


JSpec
.exec('spec/spec.grammar.js')
.exec('spec/spec.core.js')
.run()
.report({ formatter : JSpec.formatters.Terminal })

Document this change

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Tiny, full-featured JavaScript BDD framework.

People watching this ticket

Pages