Skip to content

Commit

Permalink
lint: resolve exceptions: no-trailing-spaces (#1155)
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndrsn authored Jun 14, 2024
1 parent 7cc92c4 commit d4b051c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
1 change: 0 additions & 1 deletion test/integration/other/analytics-queries.js
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,6 @@ describe('analytics task queries', function () {
it('should calculate number of managers per project', testService(async (service, container) => {
// default project has 1 manager already (bob) with no activity
await createTestUser(service, container, 'Manager1', 'manager', 1);
// eslint-disable-next-line no-trailing-spaces

// compute metrics
const res = await container.Analytics.countUsersPerRole();
Expand Down
3 changes: 1 addition & 2 deletions test/integration/task/purge.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ const { purgeForms } = require(appRoot + '/lib/task/purge');
const testData = require('../../data/xml');

// The basics of this task are tested here, including returning the count
// eslint-disable-next-line no-trailing-spaces
// of purged forms, but the full functionality is more thoroughly tested in
// of purged forms, but the full functionality is more thoroughly tested in
// test/integration/other/form-purging.js

describe('task: purge deleted forms', () => {
Expand Down
6 changes: 2 additions & 4 deletions test/unit/data/attachments.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@ describe('.zip attachments streaming', () => {
if(err) return done(err);

result.filenames.should.eql([
// eslint-disable-next-line no-trailing-spaces
'media/firstfile.ext',
// eslint-disable-next-line no-trailing-spaces
'media/secondfile.ext',
'media/firstfile.ext',
'media/secondfile.ext',
'media/thirdfile.ext'
]);

Expand Down

0 comments on commit d4b051c

Please sign in to comment.