zerovm/swift-browser — pull request #46 by mgeisler (2014-09-02 15:17:24+00:00)
Title: tests: use this for local state

Instead of declaring a variable in the top describe-block, we simply
assign to "this". This is supported by Karma, which will give us a
clean object for every test.

This makes it more clear where we get each piece of data from and
avoids accidentally leaking state between if-blocks.