Alerting: Fix typo in matchers.test.ts (#46641)

occurence -> occurrence
This commit is contained in:
Ikko Ashimine 2022-03-17 04:15:23 +09:00 committed by GitHub
parent 2081f37e95
commit d887068904
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ describe('Unified Alerting matchers', () => {
expect(matchers[1].value).toBe('YNZBpGJnk');
});
it('Should create one matcher, using the first occurence when duplicated labels exists', () => {
it('Should create one matcher, using the first occurrence when duplicated labels exists', () => {
const matchers = parseQueryParamMatchers(['alertname=TestData 1', 'alertname=TestData 2']);
expect(matchers).toHaveLength(1);