Skip to content
This repository was archived by the owner on Aug 24, 2025. It is now read-only.

Commit a43ce61

Browse files
committed
Fixed lint error.
1 parent 1b1963c commit a43ce61

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

__tests__/lang/name.spec.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@ describe("name", () => {
55
expect(name(class Foo {})).toBe("Foo");
66
});
77
it("gets name of function", () => {
8-
expect(name(function bar() {})).toBe("bar");
8+
expect(
9+
name(function bar() {
10+
// NOOP
11+
}),
12+
).toBe("bar");
913
});
1014
it("gets key of symbol", () => {
1115
expect(name(Symbol.for("abc"))).toBe("abc");

0 commit comments

Comments
 (0)