Skip to content

Commit

Permalink
remove unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
WafaaNasr committed Oct 15, 2022
1 parent aa4359e commit e47a205
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe('entry_content.helper', () => {
});
it('should return the correct labels for OPERATOR_TYPE_LABELS_INCLUDED when operator is included', () => {
const allKeys = Object.keys(OPERATOR_TYPE_LABELS_INCLUDED);
const [nested, ...withoutNested] = allKeys;
const [, ...withoutNested] = allKeys;
withoutNested.forEach((key) => {
const result = getEntryOperator(key as ListOperatorTypeEnum, 'included');
const expectedLabel = OPERATOR_TYPE_LABELS_INCLUDED[key as ListOperatorTypeEnum];
Expand All @@ -33,7 +33,7 @@ describe('entry_content.helper', () => {
});
it('should return the correct labels for OPERATOR_TYPE_LABELS_EXCLUDED when operator is excluded', () => {
const allKeys = Object.keys(OPERATOR_TYPE_LABELS_EXCLUDED);
const [nested, ...withoutNested] = allKeys;
const [, ...withoutNested] = allKeys;
withoutNested.forEach((key) => {
const result = getEntryOperator(key as ListOperatorTypeEnum, 'excluded');
const expectedLabel =
Expand Down

0 comments on commit e47a205

Please sign in to comment.