[eslint] Add test for classes

This used to cause issues because I hadn't configured Babel in the eslint plugin 
properly, so adding this as a regression test
This commit is contained in:
Lauren Tan
2023-11-03 16:32:53 -04:00
parent 3634980183
commit 48e709e7ad
@@ -71,6 +71,14 @@ const tests: ForgetTestCases = {
}
`,
},
{
name: "Classes don't throw",
code: normalizeIndent`
class Foo {
#bar() {}
}
`,
},
],
invalid: [
{