GithubHelp home page GithubHelp logo

Comments (4)

brendanjerwin avatar brendanjerwin commented on July 17, 2024

I tried making a few key properties atomic. Didn't seem to help, :(

from nocilla.

luisobo avatar luisobo commented on July 17, 2024

Make sure that your tests is waiting for the request to finish. In Kiwi you
need to use [expectFutureValue(soemthing) shouldEventually] equal:@"foo"];

This way you tests will wait until the request finishes and only then it
will clear the stubs. My guess is that currently your stubs are being
cleared before the request has triggered.

Can I see your tests?

2013/5/30 Brendan Erwin [email protected]

I tried making a few key properties atomic. Didn't seem to help, :(


Reply to this email directly or view it on GitHubhttps://github.com//issues/28#issuecomment-18692904
.

from nocilla.

brendanjerwin avatar brendanjerwin commented on July 17, 2024

That was it!

I had expectFutureValue on some of my it statements, but not all of them. But I do have the afterEach which clears the stubs.

Thanks a lot.

from nocilla.

luisobo avatar luisobo commented on July 17, 2024

No problem. Glad that it worked :)

2013/5/30 Brendan Erwin [email protected]

That was it!

I had expectFutureValue on some of myits, but not all of them. But I do
have theafterEach` which clears the stubs.

Thanks a lot.


Reply to this email directly or view it on GitHubhttps://github.com//issues/28#issuecomment-18704798
.

from nocilla.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.