Skip to content

Commit 3368e54

Browse files
dimaboryJosh Goldberg
authored and
Josh Goldberg
committed
fix: correct test names (#286)
1 parent bd55261 commit 3368e54

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rules/convertRuleSeverity.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ describe("convertRawESLintRuleSeverity", () => {
4747
expect(converted).toEqual("off");
4848
});
4949

50-
it("returns off when the severity is 2", () => {
50+
it("returns warn when the severity is 1", () => {
5151
// Arrange
5252
const rawSeverity = 1;
5353

@@ -58,7 +58,7 @@ describe("convertRawESLintRuleSeverity", () => {
5858
expect(converted).toEqual("warn");
5959
});
6060

61-
it("returns off when the severity is 3", () => {
61+
it("returns error when the severity is 2", () => {
6262
// Arrange
6363
const rawSeverity = 2;
6464

0 commit comments

Comments
 (0)