summaryrefslogtreecommitdiffstats
path: root/core/src/tests/OC
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-03-17 08:25:31 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-03-17 13:03:38 +0100
commit5d9bb5e2471b5266496a1bfd0af11e766de917c2 (patch)
tree0b7d4017098209ac3b6e4df3938257d91b9d8194 /core/src/tests/OC
parentfb183b457c2befbc3ab04b0cb070aa1e300443c6 (diff)
downloadnextcloud-server-5d9bb5e2471b5266496a1bfd0af11e766de917c2.tar.gz
nextcloud-server-5d9bb5e2471b5266496a1bfd0af11e766de917c2.zip
Lint fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/src/tests/OC')
-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' })
})
})