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

feat: support unit test for examples && remove dev progress and it's port 4507 #238

Merged
merged 3 commits into from
Feb 6, 2023

Conversation

ahuigo
Copy link
Contributor

@ahuigo ahuigo commented Jan 6, 2023

This PR includes 2 features as following.

1. Support unit test for examples

$ deno run -A  tools/test-examples.ts basic with-csr  with-unocss          

image

2. Remove dev progress and it's port 4507
For #235
Ultra shares one port with App(default 8000)
image

There is no need to listen extra dev port(4507). The reasons are as
follows:
1. Port 4507 may be occupied by other process.
1. It's hard to run multile examples via `deno task dev`.
2. If we run `deno test example/*/server.test.ts`, it's to heavy to open/close a listen port 4507.
@ahuigo
Copy link
Contributor Author

ahuigo commented Feb 3, 2023

@deckchairlabs
Looks like mesozoic has another bug that I don't know.
Could you fix this bug? https://github.com/exhibitionist-digital/ultra/actions/runs/4082917796/jobs/7037820037

@deckchairlabs
Copy link
Member

@deckchairlabs Looks like mesozoic has another bug that I don't know. Could you fix this bug? https://github.com/exhibitionist-digital/ultra/actions/runs/4082917796/jobs/7037820037

Yeah, sorry this is taking some time to get fixed. Work gets in the way sometimes! I'll have some time tomorrow to resolve the bug and this PR.

@deckchairlabs
Copy link
Member

hey @ahuigo I've resolved the failing test issues, could you fix the conflicts (looks simple enough)

@deckchairlabs
Copy link
Member

Cheers!

@deckchairlabs deckchairlabs merged commit 0e43ed4 into exhibitionist-digital:main Feb 6, 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

Successfully merging this pull request may close these issues.

None yet

2 participants