Fix typo in test names

Fix the labels function being refered to as the label function in the
test descriptions.
This commit is contained in:
Hornwitser committed 2020-04-09 16:17:38 +02:00
1 parent 56488b2c2d
commit 47c221f6f3
1 file changed
+3 -3
+3 -3
View File
@@ -312,7 +312,7 @@ describe("lib/prometheus", function() {
});
});
describe(".remove()", function() {
it("should remove a label set created with .label()", function() {
it("should remove a label set created with .labels()", function() {
let gauge = new prometheus.Gauge(
'test', "Help", { register: false, labels: ['a', 'b'] }
);
@@ -328,7 +328,7 @@ describe("lib/prometheus", function() {
});
});
describe(".removeAll()", function() {
it("should remove a label set created with .label()", function() {
it("should remove a label set created with .labels()", function() {
let gauge = new prometheus.Gauge(
'test', "Help", { register: false, labels: ['a', 'b'] }
);
@@ -358,7 +358,7 @@ describe("lib/prometheus", function() {
});
});
describe(".clear()", function() {
it("should remove all label sets created with .label()", function() {
it("should remove all label sets created with .labels()", function() {
let gauge = new prometheus.Gauge(
'test', "Help", { register: false, labels: ['a', 'b'] }
);