Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

response-Infinity in Tests added #6848

Open
1 task done
mod42 opened this issue Nov 22, 2023 · 1 comment · May be fixed by #7886
Open
1 task done

response-Infinity in Tests added #6848

mod42 opened this issue Nov 22, 2023 · 1 comment · May be fixed by #7886
Labels
B-bug Bug: general classification S-verified Status: Verified by maintainer

Comments

@mod42
Copy link
Contributor

mod42 commented Nov 22, 2023

Expected Behavior

Generating test case content with CTRL + space should add something like

const response = await insomnia.send();
expect(response.status).to.equal(200);

Actual Behavior

Instead it returns

const response-Infinity = await insomnia.send();
expect(response-Infinity.status).to.equal(200);

Reproduction Steps

  1. Go to the Tests section
  2. open the body of an test, does not matter if new or existing
  3. CTRL+SPACE and select a request
  4. see the -infinity addtion to the response

Is there an existing issue for this?

Additional Information

No response

Insomnia Version

8.4.2

What operating system are you using?

macOS

Operating System Version

13.5.2 (22G91)

Installation method

update in place after download

Last Known Working Insomnia version

No response

@mod42 mod42 added B-bug Bug: general classification S-unverified Status: Unverified by maintainer labels Nov 22, 2023
@gatzjames
Copy link
Contributor

gatzjames commented Nov 22, 2023

👋 @mod42 managed to reproduce. Thanks for the issue. We will add a fix on the next release!

Steps to reproduce:

  • Empty the code for a test.
  • Press Ctrl+Space and chose any request or current.
  • This issue happens

@gatzjames gatzjames added S-verified Status: Verified by maintainer and removed S-unverified Status: Unverified by maintainer labels Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B-bug Bug: general classification S-verified Status: Verified by maintainer
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants