Skip to content

Commit

Permalink
Fixing Lint Issue
Browse files Browse the repository at this point in the history
  • Loading branch information
katcday committed Oct 11, 2024
1 parent 0e274c1 commit c044d16
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/template-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,11 @@ describe('helpers', () => {
});

it('should generate topic class', (done) => {
const className = helpers.generateTopicClass({ locked: true, answered: true, pinned: true, deleted: true, unread: true });
const className = helpers.generateTopicClass({ locked: true,

Check failure on line 110 in test/template-helpers.js

View workflow job for this annotation

GitHub Actions / test

Expected a line break after this opening brace

Check failure on line 110 in test/template-helpers.js

View workflow job for this annotation

GitHub Actions / test

Trailing spaces not allowed
answered: true,

Check failure on line 111 in test/template-helpers.js

View workflow job for this annotation

GitHub Actions / test

Mixed spaces and tabs

Check failure on line 111 in test/template-helpers.js

View workflow job for this annotation

GitHub Actions / test

Trailing spaces not allowed
pinned: true,

Check failure on line 112 in test/template-helpers.js

View workflow job for this annotation

GitHub Actions / test

Mixed spaces and tabs

Check failure on line 112 in test/template-helpers.js

View workflow job for this annotation

GitHub Actions / test

Trailing spaces not allowed
deleted: true,

Check failure on line 113 in test/template-helpers.js

View workflow job for this annotation

GitHub Actions / test

Mixed spaces and tabs

Check failure on line 113 in test/template-helpers.js

View workflow job for this annotation

GitHub Actions / test

Trailing spaces not allowed
unread: true });

Check failure on line 114 in test/template-helpers.js

View workflow job for this annotation

GitHub Actions / test

Mixed spaces and tabs

Check failure on line 114 in test/template-helpers.js

View workflow job for this annotation

GitHub Actions / test

Expected a line break before this closing brace
assert.equal(className, 'locked answered pinned deleted unread');
done();
});
Expand Down

0 comments on commit c044d16

Please sign in to comment.