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: LaunchDevly UI: Add testing framework #442

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

cdelst
Copy link
Contributor

@cdelst cdelst commented Oct 1, 2024

  1. Add testing framework and simple unit test as example.
  2. Add pre-commit checks that run the tests and make sure the UI is built

@cdelst cdelst requested review from vroske-ld and a team October 1, 2024 17:47
@cdelst cdelst changed the title fix: Add testing framework fix: LaunchDevly: Add testing framework Oct 1, 2024
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"prettier:write": "prettier . --write",
"preview": "vite preview"
"preview": "vite preview",
"test": "jest --config jest.config.mjs"

Choose a reason for hiding this comment

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

why not vite, since you're already using it to build the project? 😁

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ah very true, just used to it. Will change

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

@cdelst cdelst force-pushed the cdelst/FUN-277/add-test-framework-to-dev-server-ui branch from 8507bec to bb4b2db Compare October 1, 2024 18:22
@cdelst cdelst changed the title fix: LaunchDevly: Add testing framework fix: LaunchDevly UI: Add testing framework Oct 1, 2024
@cdelst cdelst merged commit eac35d5 into main Oct 1, 2024
8 checks passed
@cdelst cdelst deleted the cdelst/FUN-277/add-test-framework-to-dev-server-ui branch October 1, 2024 18:25
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