diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2021-03-17 08:25:31 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2021-03-17 13:03:38 +0100 |
commit | 5d9bb5e2471b5266496a1bfd0af11e766de917c2 (patch) | |
tree | 0b7d4017098209ac3b6e4df3938257d91b9d8194 /core/src/tests/OC | |
parent | fb183b457c2befbc3ab04b0cb070aa1e300443c6 (diff) | |
download | nextcloud-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.js | 10 |
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' }) }) }) |