No, but casperjs has (had?) a bug that causes localSforage state to persist between tests. Maybe this isn't needed though; I'll try to remove it. If it needs to stay I'll document it better.

- Matt

> On Feb 1, 2014, at 1:21, Fred Wenzel <notifications@github.com> wrote:
> 
> In test/init.coffee:
> 
> > @@ -0,0 +1,19 @@
> > +'use strict'
> > +
> > +casper.TEST_URL = 'http://localhost:8181/'
> > +
> > +casper.test.begin "Pre-test setup", 1, (test) ->
> > +  casper.start casper.TEST_URL, ->
> > +    casper.test.info 'Clearing out localStorage'
> > +
> > +    # Clear localStorage from any previous test runs.
> > +    @evaluate ->
> > +      window.localStorage.clear()
> > +
> > +    # Test that localStorage is empty to prevent any weird existing state bugs.
> Uh, does clear() ever not work?
> 
> —
> Reply to this email directly or view it on GitHub.