1

I want to create a global setup/teardown method with Buster.js, but I can't understand how to do it. The documentation speaks of a "suit:start" and "suite:end"-event which looks like what I'm after, but I don't understand how to hook onto it. Anyone?

Nilzor
  • 18,082
  • 22
  • 100
  • 167

1 Answers1

1

That documentation shows the internal API of the buster-test module. We should probably make it clearer in the docs when stuff is internal.

Currently there's no global setup/teardown, unfortunately.

August Lilleaas
  • 54,010
  • 13
  • 102
  • 111