Skip to content

Commit

Permalink
[CI] Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 15, 2025
1 parent 1730821 commit 6ca145f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion exercises/practice/anagram/anagram.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ const areSetsEqual = (setA, setB) =>
describe('Anagram', () => {
test('no matches', () => {
const expected = [];
const actual = findAnagrams('diaper', ['hello', 'world', 'zombies', 'pants']);
const actual = findAnagrams('diaper', [
'hello',
'world',
'zombies',
'pants',
]);
expect(areSetsEqual(new Set(expected), new Set(actual))).toEqual(true);
});

Expand Down

0 comments on commit 6ca145f

Please sign in to comment.