Skip to content

Commit 0fca929

Browse files
little fix
1 parent fa6362c commit 0fca929

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tools/spectral/ipa/__tests__/utils/exceptions.test.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,16 @@ const objectWithIpa100And101Exception = {
4040
describe('tools/spectral/ipa/rulesets/functions/utils/exceptions.js', () => {
4141
describe('hasException', () => {
4242
it('returns true if object has exception matching the rule name', () => {
43-
expect(hasException(objectWithIpa100Exception, TEST_RULE_NAME_100, '')).toBe(true);
44-
expect(hasException(objectWithIpa100ExceptionAndOwnerExtension, TEST_RULE_NAME_100, '')).toBe(true);
45-
expect(hasException(objectWithIpa100And101Exception, TEST_RULE_NAME_100, '')).toBe(true);
43+
expect(hasException(objectWithIpa100Exception, TEST_RULE_NAME_100)).toBe(true);
44+
expect(hasException(objectWithIpa100ExceptionAndOwnerExtension, TEST_RULE_NAME_100)).toBe(true);
45+
expect(hasException(objectWithIpa100And101Exception, TEST_RULE_NAME_100)).toBe(true);
4646
});
4747
it('returns false if object does not have exception matching the rule name', () => {
48-
expect(hasException({}, TEST_RULE_NAME_100, '')).toBe(false);
49-
expect(hasException(objectWithIpa101Exception, TEST_RULE_NAME_100, '')).toBe(false);
48+
expect(hasException({}, TEST_RULE_NAME_100)).toBe(false);
49+
expect(hasException(objectWithIpa101Exception, TEST_RULE_NAME_100)).toBe(false);
5050
});
5151
it('returns false if object has nested exception matching the rule name', () => {
52-
expect(hasException(objectWithNestedIpa100Exception, TEST_RULE_NAME_100, '')).toBe(false);
52+
expect(hasException(objectWithNestedIpa100Exception, TEST_RULE_NAME_100)).toBe(false);
5353
});
5454
});
5555
});

0 commit comments

Comments
 (0)