securedrop icon indicating copy to clipboard operation
securedrop copied to clipboard

Add unit tests for JavaScript

Open redshiftzero opened this issue 8 years ago • 1 comments

Description

While we don't have much JavaScript, we should still have tests for it, e.g. using QUnit: https://qunitjs.com/

User Stories

As a SecureDrop contributor, I want to know I'm not breaking the little JavaScript that exists when I modify it.

redshiftzero avatar Oct 06 '17 17:10 redshiftzero

Future versions of SecureDrop may use JS more extensively (for example for client-side encryption), so this issue is still relevant.

zenmonkeykstop avatar Aug 18 '22 14:08 zenmonkeykstop