tests: Rename the Node tests to *.cjs.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2024-11-12 22:05:32 -08:00
committed by Tim Abbott
parent 30eabb9d6c
commit 687f1b1651
180 changed files with 531 additions and 530 deletions

View File

@@ -207,7 +207,7 @@ js_rules = RuleList(
"exclude_pattern": r"(const |\S)style ?=",
"description": "Avoid using the `style=` attribute; we prefer styling in CSS files",
"exclude": {
"web/tests/copy_and_paste.test.js",
"web/tests/copy_and_paste.test.cjs",
},
"good_lines": ["#my-style {color: blue;}", "const style =", 'some_style = "test"'],
"bad_lines": ['<p style="color: blue;">Foo</p>', 'style = "color: blue;"'],