Discourse Writing JS Tests

Write and structure JavaScript/QUnit tests for Discourse core, plugins, and themes. Use when creating or modifying unit tests (lib/utility/service/model), component rendering tests, integration tests, or acceptance tests. Covers module naming, setupTest/setupRenderingTest/setupApplicationTest, fixtures, the qunit-helpers toolbox, pretender, and qunit-dom assertions.

discourse Updated 48.1k repo stars
github-readme

File contents

discourse/discourse commit 52220e4b69

Frequently asked questions

npx get-skill add discourse/discourse-writing-js-tests