diff options
author | Simon Fondrie-Teitler <simonft@riseup.net> | 2017-05-24 21:30:46 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2017-08-08 18:53:18 -0400 |
commit | 7c9581a656dd1e01d8960bd278d29066af3ec560 (patch) | |
tree | 30e0971c0c1dc116fb6ad8ebc2ef813b53a7d1c4 /ui/package.json | |
parent | ba70a1090637e1400bf9d59f077a0fd871c2a672 (diff) |
[refactor] use sinon in confirmation component test
This refactors the confirmation component to use sinon instead of
manually checking the the result of calling a function.
Diffstat (limited to 'ui/package.json')
-rw-r--r-- | ui/package.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/package.json b/ui/package.json index 3398e601..b593f7b1 100644 --- a/ui/package.json +++ b/ui/package.json @@ -31,6 +31,7 @@ "react-addons-test-utils": "^15.5.1", "react-bootstrap": "^0.30.5", "react-dom": "^15.3.2", + "sinon": "^2.3.1", "style-loader": "^0.13.1", "webpack": "^1.13.1", "zxcvbn": "^4.4.0" |