From 4a264d1709afc117107a13297d243eb90321be33 Mon Sep 17 00:00:00 2001 From: Jim O'Donnell Date: Thu, 28 Mar 2024 10:04:04 +0000 Subject: [PATCH] fix indentation --- test/talkClient.mjs | 56 ++++++++++++++++++++++----------------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/test/talkClient.mjs b/test/talkClient.mjs index 5010bfd..7ffaee2 100644 --- a/test/talkClient.mjs +++ b/test/talkClient.mjs @@ -1,32 +1,32 @@ import { expect } from 'chai'; import talkClient from '../lib/talk-client.js' -describe('talkClient', function() { - describe('search', function() { - specify('should return a list of comments', async function() { - const params = { - types: ['comments'], - section: 'zooniverse', - page: 1, - pageSize: 10, - query: 'depression' - }; - const results = await talkClient.type('searches').get(params); - expect(results).to.be.an('array'); - expect(results).to.have.lengthOf(10); - }); - specify('should ignore null comments', async function() { - // this Talk query returns 9 comments and one null comment. - const params = { - types: ['comments'], - section: 'zooniverse', - page: 3, - pageSize: 10, - query: 'depression' - }; - const results = await talkClient.type('searches').get(params); - expect(results).to.be.an('array'); - expect(results).to.have.lengthOf(9); - }); +describe('talkClient', function () { + describe('search', function () { + specify('should return a list of comments', async function () { + const params = { + types: ['comments'], + section: 'zooniverse', + page: 1, + pageSize: 10, + query: 'depression' + }; + const results = await talkClient.type('searches').get(params); + expect(results).to.be.an('array'); + expect(results).to.have.lengthOf(10); }); -}); \ No newline at end of file + specify('should ignore null comments', async function () { + // this Talk query returns 9 comments and one null comment. + const params = { + types: ['comments'], + section: 'zooniverse', + page: 3, + pageSize: 10, + query: 'depression' + }; + const results = await talkClient.type('searches').get(params); + expect(results).to.be.an('array'); + expect(results).to.have.lengthOf(9); + }); + }); +});