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

Documentation missing for template tests #1450

Open
alanpearce opened this issue Sep 18, 2023 · 0 comments
Open

Documentation missing for template tests #1450

alanpearce opened this issue Sep 18, 2023 · 0 comments

Comments

@alanpearce
Copy link

I thought nunjucks didn't have support for Jinja-style tests until I found the PR that added it (#1033). I wanted to add my own tests Environment.addTest does not appear in https://mozilla.github.io/nunjucks/api.html. They don't appear very clearly on https://mozilla.github.io/nunjucks/templating.html either; only select and reject hint that they exist without listing the built-in tests

Environment.addTest and friends are also missing in https://github.com/DefinitelyTyped/DefinitelyTyped, but I don't know if anyone from here has an eye on the TypeScript types.

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

No branches or pull requests

1 participant