summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@codeispoetry.ru>2017-07-18 11:13:29 +0100
committerErik Larkö <erik@mullvad.net>2017-07-20 09:26:35 +0200
commite55f701d98cb873168212bf14a3b7cf4f91cad0d (patch)
tree1e2b1359e129fab98716b9149415d4cb8df8085a /test
parent697832619aab799faf7930b7f2e8c894b9f01f6d (diff)
downloadmullvadvpn-e55f701d98cb873168212bf14a3b7cf4f91cad0d.tar.xz
mullvadvpn-e55f701d98cb873168212bf14a3b7cf4f91cad0d.zip
- Replace magic numbers with corresponding string options
- Enforce comma-spacing rule
Diffstat (limited to 'test')
-rw-r--r--test/login.spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/login.spec.js b/test/login.spec.js
index f220eb25a7..950205804c 100644
--- a/test/login.spec.js
+++ b/test/login.spec.js
@@ -49,7 +49,7 @@ describe('Logging in', () => {
it('should indicate failure for non-existing accounts', (done) => {
const { store, mockIpc, backend } = setupBackendAndStore();
- mockIpc.getAccountData = (_num) => new Promise((_,reject) => {
+ mockIpc.getAccountData = (_num) => new Promise((_, reject) => {
reject('NO SUCH ACCOUNT');
});