DEV: make tests work in Ember CLI (PR #129)

GitHub

TIL: we need to configure the plugin linting action to run prettier on /test directory :wink:

Yep, I think I’ll take a look now.

Hmm, I’m pretty sure this was working before. Probably this DEV: Update CI workflows by discoursebot · Pull Request #91 · discourse/discourse-data-explorer · GitHub broke it but at first glance it runs prettier on /test directory :thinking:.

Looks like ** in ls test/**/*.@(js|es6) doesn’t traverse multiple levels of directories… So it would have to be ls test/javascripts/*/*.@(js|es6) unless that somehow doesn’t work for other plugins.

Fixed in https://github.com/discourse/.github/pull/39 :slightly_smiling_face: