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

Adding Unit test cases for wrappedNodeFetch and adding github actions #59

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Commits on Mar 14, 2023

  1. feat(github actions and wrappednodefetched.test.js): integrated githu…

    …b action and wrote unit test
    
    For code coverage added unit test for wrappedNodeFetch function and integrated git hub actions.
    
    test #354
    
    Signed-off-by: Hermione Dadheech <[email protected]>
    Hermione2408 committed Mar 14, 2023
    Configuration menu
    Copy the full SHA
    3fb754c View commit details
    Browse the repository at this point in the history
  2. fix: updates the commit linter versio

    Signed-off-by: Hermione Dadheech <[email protected]>
    re-Tick authored and Hermione2408 committed Mar 14, 2023
    Configuration menu
    Copy the full SHA
    bd525e2 View commit details
    Browse the repository at this point in the history
  3. feat(ci.yml): revert version and removing console

    Revert version and removing console from unit test file
    
    test #354
    
    Signed-off-by: Hermione Dadheech <[email protected]>
    Hermione2408 committed Mar 14, 2023
    Configuration menu
    Copy the full SHA
    479e05d View commit details
    Browse the repository at this point in the history
  4. feat(wrappednodefetch.test.ts): added expect test for mocks and deps

    Added expect test for mocks and deps after fetching in record and test mode
    
    test #354
    
    Signed-off-by: Hermione Dadheech <[email protected]>
    Hermione2408 committed Mar 14, 2023
    Configuration menu
    Copy the full SHA
    532413e View commit details
    Browse the repository at this point in the history
  5. feat(wrappednodefetch.test.ts): added a check to compare the recorded…

    … output with response
    
    Added a check to compare the recorded output with response to ensure wrappedNodeFetch functionality
    
    test #354
    
    Signed-off-by: Hermione Dadheech <[email protected]>
    Hermione2408 committed Mar 14, 2023
    Configuration menu
    Copy the full SHA
    75ff0cb View commit details
    Browse the repository at this point in the history
  6. feat(wrappednodefetch.test.ts): importing HTTP from src/keploy.ts

    importing HTTP from src/keploy.ts
    
    test #354
    
    Signed-off-by: Hermione Dadheech <[email protected]>
    Hermione2408 committed Mar 14, 2023
    Configuration menu
    Copy the full SHA
    351517f View commit details
    Browse the repository at this point in the history
  7. test(wrappednodefetch, octokit/require.ts): adding fetch method and c…

    …reateExecutionContext
    
    Resolving the failed test cases by using fetch from node-fetch and createExecutionContext
    
    test#354
    
    Signed-off-by: Hermione Dadheech <[email protected]>
    Hermione2408 committed Mar 14, 2023
    Configuration menu
    Copy the full SHA
    ff354ac View commit details
    Browse the repository at this point in the history
  8. test(wrappednodefetch): updating checks

    updating test cases
    
    test #354
    
    Signed-off-by: Hermione Dadheech <[email protected]>
    Hermione2408 committed Mar 14, 2023
    Configuration menu
    Copy the full SHA
    b1066bc View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    77c3613 View commit details
    Browse the repository at this point in the history
  10. feat(require.ts): removing createExecutionContext

    removing createExecutionContext from octokit
    
    test #354
    
    Signed-off-by: Hermione Dadheech <[email protected]>
    Hermione2408 committed Mar 14, 2023
    Configuration menu
    Copy the full SHA
    4bec4d0 View commit details
    Browse the repository at this point in the history