Coder Social home page Coder Social logo

angular-sdk-examples's People

Contributors

dependabot[bot] avatar emilianofant-split avatar emilianosanchez avatar emmaz90 avatar marquezmanu avatar nicozelaya avatar nikoe14 avatar sanzmauro avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

angular-sdk-examples's Issues

SplitFactory blocking protractor tests

Hey,

Hope all of you are doing great. Me and my team are using SplitIO in our project. Angular 8 created with JHipster, but I don't think it matters. Issue that we are facing is that when splitio service/client is running it is blocking our e2e (protractor) tests to perform any actions, like clicking on the button or navigating on the page.

Specifically invoking this line causes tests to start breaking:

SplitFactory({
      ...config
    });

I am not sure why this would be happening and I would really appreciate any help. If you need more information just let me know.

handling SDK_READY_TIMED_OUT

the complex example has this bit of code

complex example

    // We won't throw an error here, we'll just return the false for the AppResolver to know it should not render the view.
    // A real use case would be to handle that as a control event.
    //
    // There's an advanced use case where you'll react to timeouts but once the SDK gets ready you'll use it.
    // Just showcasing a way you can handle that, but if you have a specific use case we can have more discussions.
    client.on(client.Event.SDK_READY_TIMED_OUT, () => {
      this._isSdkReady = false;
      resolve(false);
    });

why not reject with an error?
if we are not rejecting, how would a retry strategy work here? or is that unnecessary?

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.