diff options
| author | Erik Larkö <erik@mullvad.net> | 2017-09-12 13:33:46 +0200 |
|---|---|---|
| committer | Erik Larkö <erik@mullvad.net> | 2017-09-12 13:46:04 +0200 |
| commit | 4ed0102b38aa29bee9b0a876ec48c48d715f644e (patch) | |
| tree | 4c3334ed98f97b2c83c9b49f448c790810a5f835 /test/components | |
| parent | d541f4ee98182faa6c4e52727c948612b4d7ad53 (diff) | |
| download | mullvadvpn-4ed0102b38aa29bee9b0a876ec48c48d715f644e.tar.xz mullvadvpn-4ed0102b38aa29bee9b0a876ec48c48d715f644e.zip | |
Move the hardcoded relay endpoint data to the Connect component
Diffstat (limited to 'test/components')
| -rw-r--r-- | test/components/Connect.spec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/components/Connect.spec.js b/test/components/Connect.spec.js index 2a385fed5f..30228fc4c6 100644 --- a/test/components/Connect.spec.js +++ b/test/components/Connect.spec.js @@ -94,7 +94,7 @@ describe('components/Connect', () => { it('invokes the onConnect prop', (done) => { const component = renderNotConnected({ - onConnect: done, + onConnect: () => done(), }); const connectButton = component.find('.button .button--positive'); |
