arunoda / laika

testing framework for meteor
http://arunoda.github.io/laika/
MIT License
242 stars 38 forks source link

setup() and teardown() methods? #120

Open aramk opened 10 years ago

aramk commented 10 years ago

I was surprised that the documentation didn't mention any setup() and teardown() methods. Looking at globals I can see that they're defined in side the suite, by I'm not sure if it's from another library or not. I can't find any mention of them in the code.

neonsamurai commented 10 years ago

I wondered myself what the pattern is for setup/teardown in laika?

The methods exist and get called, but I can't seem to pass done, server, client objects to them which make them kinda useless unless I am missing something?