Skip to content

Commit 3ca03e3

Browse files
committed
correct var name
1 parent afc0d7b commit 3ca03e3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/unit/PolicyUtilsTest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -849,8 +849,8 @@ describe('PolicyUtils', () => {
849849
['when orderWeight is 0', 0, policyTags.TagListTest0.name],
850850
['when orderWeight is 2', 2, policyTags.TagListTest2.name],
851851
['when orderWeight is out of range', 1, ''],
852-
])('%s', (_description, index, expected) => {
853-
const tagList = getTagListByOrderWeight(policyTags, index);
852+
])('%s', (_description, orderWeight, expected) => {
853+
const tagList = getTagListByOrderWeight(policyTags, orderWeight);
854854
expect(tagList.name).toEqual(expected);
855855
});
856856
});

0 commit comments

Comments
 (0)