0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-04 10:39:43 +08:00
discourse/plugins/automation/test/javascripts/integration/components
Martin Brennan 79d1c792eb
DEV: Update test module name conventions (#40389)
Currently, most of the JS test modules follow this
convention:

```
module("Integration | Component | topic-dismiss-buttons"
```

Which is a legacy from when ember components etc were
rendered in templates like this:

```
{{d-button title="foo"}}
```

Instead, this commit updates all of them to follow this
PascalCase convention:

```
module("Integration | Component | TopicDismissButtons", function (hooks) {
```

No linting is added to enforce this, we suspect that it's
mostly a result of cargo culting, and people will add new
tests following PascalCase convention.

Also adds an initial AI skill for writing JS tests.
2026-05-29 15:19:55 +10:00
..
da-boolean-field-test.gjs DEV: Update test module name conventions (#40389) 2026-05-29 15:19:55 +10:00
da-categories-field-test.gjs DEV: Update test module name conventions (#40389) 2026-05-29 15:19:55 +10:00
da-category-field-test.gjs DEV: Update test module name conventions (#40389) 2026-05-29 15:19:55 +10:00
da-category-notification-level-field-test.gjs DEV: Update test module name conventions (#40389) 2026-05-29 15:19:55 +10:00
da-choices-field-test.gjs DEV: Update test module name conventions (#40389) 2026-05-29 15:19:55 +10:00
da-custom-field-test.gjs DEV: Update test module name conventions (#40389) 2026-05-29 15:19:55 +10:00
da-date-time-field-test.gjs DEV: Update test module name conventions (#40389) 2026-05-29 15:19:55 +10:00
da-email-group-user-field-test.gjs DEV: Update test module name conventions (#40389) 2026-05-29 15:19:55 +10:00
da-group-field-test.gjs DEV: Update test module name conventions (#40389) 2026-05-29 15:19:55 +10:00
da-groups-field-test.gjs DEV: Update test module name conventions (#40389) 2026-05-29 15:19:55 +10:00
da-message-field-test.gjs DEV: Update test module name conventions (#40389) 2026-05-29 15:19:55 +10:00
da-pms-field-test.gjs DEV: Update test module name conventions (#40389) 2026-05-29 15:19:55 +10:00
da-post-field-test.gjs DEV: Update test module name conventions (#40389) 2026-05-29 15:19:55 +10:00
da-relative-time-field-test.gjs DEV: Update test module name conventions (#40389) 2026-05-29 15:19:55 +10:00
da-tags-field-test.gjs DEV: Update test module name conventions (#40389) 2026-05-29 15:19:55 +10:00
da-text-field-test.gjs DEV: Update test module name conventions (#40389) 2026-05-29 15:19:55 +10:00
da-text-list-field-test.gjs DEV: Update test module name conventions (#40389) 2026-05-29 15:19:55 +10:00
da-trust-levels-field-test.gjs DEV: Update test module name conventions (#40389) 2026-05-29 15:19:55 +10:00
da-user-field-test.gjs DEV: Update test module name conventions (#40389) 2026-05-29 15:19:55 +10:00
da-users-field-test.gjs DEV: Update test module name conventions (#40389) 2026-05-29 15:19:55 +10:00