-
Notifications
You must be signed in to change notification settings - Fork 92
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
Building & running tests #201
Comments
Hey, I'd be happy to move away from the ugly see stuff and Makefile if anyone can come up with a better way of doing this. Thanks! |
Sounds good, I'll see if I can get it all building using just Also, @matthewp , would it be possible to update line 60 in |
Not that I can think of, sounds like a good change! |
Dug deeper into the falsy // test-context.js, line 50
<div id="without-provider">
<context-consumer></context-consumer>
</div> then neither the Line 58 in 09cef7c
I can fix the TypeScript warning by making the unsubscribe?: (this: Context<T>) => void; and falling back to const { unsubscribe = null, value } = detail as ContextDetail<T>; Since the Happy to submit a PR for the |
Most of these issues are resolved, closing for now. |
I've been working on running the haunted test suite and encountered a few issues. I'm not very familiar with GNU Make or Typescript, so apologies in advance if I'm missing something obvious.
Might be worth clarifying that GNU Sed (not Mac Sed) is assumed by regexes in Makefile.
https://github.com/pranksinatra/haunted/commit/070ca682d88c7fb53e4f24c34561e1171d4f0a90
I'm getting a Typescript error when compiling
src/use-context.ts
test-core.js
test without compiling thecore.js
file located top-level in the repo, e.g.Without compiling it,
core.js
importslib/core.js
which tries to import JS files without JS extensions, e.g.Let me know if there's anything obvious I'm missing. Thanks!
The text was updated successfully, but these errors were encountered: