Coder Social home page Coder Social logo

Comments (8)

rjz avatar rjz commented on July 27, 2024

Hey @zeke, and thanks for reporting!

This looks like an issue with the way the cookie jar's URL is initialized. I've pushed up a heavy-handed fix in #29 (9dc83a1) that should get the test suite back on track. When you have a moment, could you confirm that it works for you?

from supertest-session.

zeke avatar zeke commented on July 27, 2024

Thanks for the quick fix, @rjz. I installed rjz/supertest-session#9dc83a1a33b8c5d0aa134ea0032a870526ef0368 and it's working like a charm. 👍

from supertest-session.

rjz avatar rjz commented on July 27, 2024

Beauty! I'll clean that commit up and cut a new release shortly.

from supertest-session.

rjz avatar rjz commented on July 27, 2024

Published as [email protected].

Thanks again for catching this, @zeke, and please be in touch if anything else comes up!

from supertest-session.

XVincentX avatar XVincentX commented on July 27, 2024

@rjz It seems like this change broke some expectations.

app, in my case, is an Object and not a Function. I already have a full working server, but I still need to extract the url from the app object itself.

from supertest-session.

rjz avatar rjz commented on July 27, 2024

I legitimately flipped a coin over whether the fix in #29 constituted a "patch" version or not. I lost.

Sorry about that, @XVincentX—will fix and update ASAP!

from supertest-session.

XVincentX avatar XVincentX commented on July 27, 2024

It is actually really weird how I come up to this bug.

I have a test suite for an open source project running on node 6,8 and 9.

Suddenly node6 build broke and I started to investigate, and it was pointing to supertest-session; I updated your library (since I noticed an update) and here I am now.

I still do not get what made the node6 build break suddenly 🤔

from supertest-session.

rjz avatar rjz commented on July 27, 2024

I was able to reproduce the issue and pushed up a quick fix (3ae4930), but it's weird that it's version dependent. I've added 6,8, and 9 to the travis build (#31)—hopefully CI will catch this in the future!

Sorry again for the trouble, and big thanks for homing in on the issue.

from supertest-session.

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.