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

Improve test coverage #462

Merged
merged 105 commits into from
Jun 17, 2024
Merged

Improve test coverage #462

merged 105 commits into from
Jun 17, 2024

Conversation

dividehex
Copy link
Contributor

This PR is focused on adding test coverage and refactoring rules as needed.

        This commit updates package.json to include new tools for
        testing.  Including c8, jest mock fetch.  This also moves the
        package.json and package-lock.json to root dir.
dividehex added 21 commits May 31, 2024 11:11
        * add prettier to lint and format function text
        * convert the rule function wrapper to an async function
        * strip any requires of fetch in favor for passing a mocked
          version of fetch to the function
@dividehex dividehex marked this pull request as ready for review May 31, 2024 16:16
@dividehex dividehex requested a review from frosemond May 31, 2024 16:16
@dividehex
Copy link
Contributor Author

This PR is currently deployed to dev where it is being exercised and tested.

@floatingatoll
Copy link
Contributor

(Adding an r+ in case GitHub is wedged; I've been monitoring these change sets and it looks good.)

@dividehex dividehex merged commit 5903b26 into mozilla-iam:master Jun 17, 2024
1 check passed
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.

3 participants