MCPcopy
hub / github.com/prometheus/client_js / fn

Function fn

test/summaryTest.js:211–213  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

209
210 it('should throw error if label lengths does not match', () => {
211 const fn = function () {
212 instance.labels('GET').observe();
213 };
214 expect(fn).toThrowErrorMatchingSnapshot();
215 });
216

Callers

nothing calls this directly

Calls 3

observeMethod · 0.65
labelsMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected