Skip to content

Commit f662f95

Browse files
authored
assertValidName-test: Remove duplicate test (#2445)
1 parent b55b575 commit f662f95

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/utilities/__tests__/assertValidName-test.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@ describe('assertValidName()', () => {
1616
);
1717
});
1818

19-
it('throws for use of leading double underscores', () => {
20-
expect(() => assertValidName('__bad')).to.throw(
21-
'"__bad" must not begin with "__", which is reserved by GraphQL introspection.',
22-
);
23-
});
24-
2519
it('throws for non-strings', () => {
2620
// $DisableFlowOnNegativeTest
2721
expect(() => assertValidName({})).to.throw('Expected name to be a string.');

0 commit comments

Comments
 (0)