From 7c9581a656dd1e01d8960bd278d29066af3ec560 Mon Sep 17 00:00:00 2001 From: Simon Fondrie-Teitler Date: Wed, 24 May 2017 21:30:46 -0400 Subject: [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. --- ui/package.json | 1 + 1 file changed, 1 insertion(+) (limited to 'ui/package.json') diff --git a/ui/package.json b/ui/package.json index 3398e60..b593f7b 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" -- cgit v1.2.3