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

fix(sdk): change insomnia.test mechanism to improve the nested test cases #8388

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

ihexxa
Copy link
Contributor

@ihexxa ihexxa commented Feb 20, 2025

Changes

  • Change the mechanism of insomnia.test to improve the nested test cases
  • Added smoke tests

Add sync or async cases in script to test it:

          insomnia.test('asyncHappyTestInFunc', () => {
            insomnia.expect(200).to.eql(200);
          });

          insomnia.test('asyncHappyTestInFunc', async () => {
            insomnia.expect(200).to.eql(200);
          });

INS-5005

@ihexxa ihexxa self-assigned this Feb 20, 2025
@ihexxa ihexxa changed the title fix: change insomnia.test mechanism to improve the nested test cases fix(sdk): change insomnia.test mechanism to improve the nested test cases Feb 20, 2025
@ihexxa ihexxa requested a review from a team February 20, 2025 06:34
Copy link
Contributor

@yaoweiprc yaoweiprc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could there be any compatibility issues since the function passed to test() is executed asynchronously now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants