mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alerting: Fix typo in matchers.test.ts (#46641)
occurence -> occurrence
This commit is contained in:
@@ -27,7 +27,7 @@ describe('Unified Alerting matchers', () => {
|
|||||||
expect(matchers[1].value).toBe('YNZBpGJnk');
|
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']);
|
const matchers = parseQueryParamMatchers(['alertname=TestData 1', 'alertname=TestData 2']);
|
||||||
|
|
||||||
expect(matchers).toHaveLength(1);
|
expect(matchers).toHaveLength(1);
|
||||||
|
|||||||
Reference in New Issue
Block a user