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

Function fn

test/histogramTest.js:130–132  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

128
129 it('should not allow non numbers', () => {
130 const fn = function () {
131 instance.observe('asd');
132 };
133 expect(fn).toThrowErrorMatchingSnapshot();
134 });
135

Callers

nothing calls this directly

Calls 3

observeMethod · 0.65
labelsMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected