-
Notifications
You must be signed in to change notification settings - Fork 1
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
Functions exported from global data have NaN
value at compile time
#2
Labels
Comments
What should I do to get the tests running normally? Using
|
Yeah, I’m still learning how to write tests from scratch. I’m much more used to tweaking existing test suites. I left some more feedback on your PR. Thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I added a new test case (
test/test-plugin-data-functions.js
) to see whether the global data files would allow an exported function to be used by Pug at compile-time.Nope!
Although the key (
daFunc
) was present in the cascade data passed to the anonymous inner async function, its value wasNaN
for reasons I can’t figure.The text was updated successfully, but these errors were encountered: