Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ktmud committed Jan 26, 2021
1 parent 8ae7f07 commit 7f2c636
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/superset-ui-core/test/utils/removeDuplicates.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
import { removeDuplicates } from '@superset-ui/core/src';

describe('removeDuplicates([...])', () => {
it('should remove duplciages from a simple list', () => {
it('should remove duplicates from a simple list', () => {
expect(removeDuplicates([1, 2, 4, 1, 1, 5, 2])).toEqual([1, 2, 4, 5]);
});
it('should remove duplciages by key getter', () => {
it('should remove duplicates by key getter', () => {
expect(removeDuplicates([{ a: 1 }, { a: 1 }, { b: 2 }], x => x.a)).toEqual([
{ a: 1 },
{ b: 2 },
Expand Down

0 comments on commit 7f2c636

Please sign in to comment.