Commit Graph

7 Commits

Author SHA1 Message Date
Anders Kaseorg
ba8b9a445b eslint: Fix unicorn/prefer-node-protocol.
Signed-off-by: Anders Kaseorg <[email protected]>
2024-10-08 16:54:15 -07:00
sanchi-t
281ce39a0d template_stub: Remove the requirement to mock templates.
We will now just run the actual template if not mocked, such that code
that ends up rendering a template incidentally does not need to mock
templates.

Co-authored-by: Tim Abbott <[email protected]>
2024-06-27 11:58:59 -07:00
Anders Kaseorg
cc8a4636ba namespace: Prevent direct mutation of ES modules in tests.
Signed-off-by: Anders Kaseorg <[email protected]>
2024-02-19 21:20:35 -05:00
Anders Kaseorg
835ee69c80 docs: Fix grammar errors found by mwic.
Signed-off-by: Anders Kaseorg <[email protected]>
2023-10-09 13:24:09 -07:00
Anders Kaseorg
64c973d8ec namespace: Tighten override_rewire old_value check.
Signed-off-by: Anders Kaseorg <[email protected]>
2023-08-04 18:00:38 -07:00
Anders Kaseorg
529d35c530 namespace: Clean up template_path manipulation.
Signed-off-by: Anders Kaseorg <[email protected]>
2023-08-04 14:38:37 -07:00
Anders Kaseorg
cea1119423 node_tests: Move to web/tests.
This lets us simplify the long-ish ‘../../static/js’ paths, and will
remove the need for the ‘zrequire’ wrapper.

Signed-off-by: Anders Kaseorg <[email protected]>
2023-02-23 16:04:17 -08:00