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

Setup unit tests #3

Closed
4 tasks done
jcubic opened this issue Sep 15, 2022 · 0 comments
Closed
4 tasks done

Setup unit tests #3

jcubic opened this issue Sep 15, 2022 · 0 comments

Comments

@jcubic
Copy link
Collaborator

jcubic commented Sep 15, 2022

Add tests for the format function. Each module should have a separate test file.

Copy solution and code from jquery.terminal.

  • add jest Npm package
  • add to GitHub action
  • create __tests__ directory
  • add a single file for testing the format function from the original test (you need to import the format function from the module and modify the code so it works without $.terminal namespace) nested_formatting
jcubic added a commit that referenced this issue Aug 7, 2023
jcubic added a commit that referenced this issue Aug 8, 2023
@jcubic jcubic closed this as completed Aug 8, 2023
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

No branches or pull requests

1 participant