Skip to content

Commit

Permalink
test: split up naming-convention (#4599)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Mar 1, 2022
1 parent 3ea0947 commit 699ef48
Show file tree
Hide file tree
Showing 16 changed files with 747 additions and 718 deletions.
@@ -0,0 +1,17 @@
import { createTestCases } from './createTestCases';

createTestCases([
{
code: [
'const ignored = { get %() {} };',
'const ignored = { set "%"(ignored) {} };',
'class Ignored { private get %() {} }',
'class Ignored { private set "%"(ignored) {} }',
'class Ignored { private static get %() {} }',
'class Ignored { static get #%() {} }',
],
options: {
selector: 'accessor',
},
},
]);
@@ -0,0 +1,10 @@
import { createTestCases } from './createTestCases';

createTestCases([
{
code: ['class % {}', 'abstract class % {}', 'const ignored = class % {}'],
options: {
selector: 'class',
},
},
]);

0 comments on commit 699ef48

Please sign in to comment.