summaryrefslogtreecommitdiffstats
path: root/core/src/tests/OC/requesttoken.spec.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/tests/OC/requesttoken.spec.js')
-rw-r--r--core/src/tests/OC/requesttoken.spec.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/src/tests/OC/requesttoken.spec.js b/core/src/tests/OC/requesttoken.spec.js
index d19a4b8e9c8..5506a4f72cc 100644
--- a/core/src/tests/OC/requesttoken.spec.js
+++ b/core/src/tests/OC/requesttoken.spec.js
@@ -1,4 +1,4 @@
-/*
+/**
* @copyright 2020 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @author 2020 Christoph Wurst <christoph@winzerhof-wurst.at>
@@ -19,10 +19,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-import {JSDOM} from 'jsdom'
-import {subscribe, unsubscribe} from '@nextcloud/event-bus'
+import { JSDOM } from 'jsdom'
+import { subscribe, unsubscribe } from '@nextcloud/event-bus'
-import {manageToken, setToken} from '../../OC/requesttoken'
+import { manageToken, setToken } from '../../OC/requesttoken'
describe('request token', () => {
@@ -66,7 +66,7 @@ describe('request token', () => {
it('fires off an event for @nextcloud/auth', () => {
setToken('123')
- expect(listener).to.have.been.calledWith({token: '123'})
+ expect(listener).to.have.been.calledWith({ token: '123' })
})
})