-
Notifications
You must be signed in to change notification settings - Fork 2
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 tests #22
Fix tests #22
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are so many tests deleted?
they were either not passing or throwing type errors and are dead code afaik |
I get the following error when trying to run locally @codetheweb (I reinstalled node-modules and made sure to run build, even though its part of pretest now):
|
I don't think they're dead code? Everything under They were passing by the time I had my PRs, I thought.. |
hmm what node version? there's a minor range in v20 that may not work, can update |
Ah, i was on node 16. Using node 18 worked. we should include an |
sorry, should have expanded on this a little I think Seve added
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think Seve added src/lib/ModuleService.ts when init'ing the repo, but I'm not sure how it would be used at this point--adapters serve a similar purpose.
Ah, so you're thinking of like:
type ModuleServiceAdapter = (edgeSpec: EdgeSpec) => (request: EdgeSpecRequest, routeParam?: string) => Promise<Response>
Yep, makes sense 👍
I'll re-introduce module service adapters in a future PR I think.
Fixing lint issues will be a separate PR as it's a large diff.