Skip to content

Commit 2195822

Browse files
committed
Remove some unnecessary JSDoc comments in tests.
1 parent e8b374c commit 2195822

5 files changed

Lines changed: 1 addition & 4 deletions

File tree

CacheContext.test.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ export default (tests) => {
2020
tests.add("`CacheContext` used as a React context.", () => {
2121
let contextValue;
2222

23-
/** Test component. */
2423
function TestComponent() {
2524
contextValue = React.useContext(CacheContext);
2625
return null;

HydrationTimeStampContext.test.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ export default (tests) => {
2222
tests.add("`HydrationTimeStampContext` used as a React context.", () => {
2323
let contextValue;
2424

25-
/** Test component. */
2625
function TestComponent() {
2726
contextValue = React.useContext(HydrationTimeStampContext);
2827
return null;

LoadingContext.test.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ export default (tests) => {
2323
tests.add("`LoadingContext` used as a React context.", () => {
2424
let contextValue;
2525

26-
/** Test component. */
2726
function TestComponent() {
2827
contextValue = React.useContext(LoadingContext);
2928
return null;

Provider.test.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ export default (tests) => {
5252
*/
5353
const results = [];
5454

55-
/** Test component. */
5655
function TestComponent() {
5756
results.push({
5857
hydrationTimeStampContextValue: React.useContext(

changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
- Updated `react-dom/server` imports in tests to suit React v18.
2323
- Fixed the `fetchGraphQL` test with the global `fetch` API unavailable for new versions of Node.js that have the `fetch` global.
2424
- Fixed some JSDoc links.
25+
- Removed some unnecessary JSDoc comments in tests.
2526
- Revamped the readme:
2627
- Removed the badges.
2728
- Updated the “Examples” section to reflect the [`graphql-react` examples repo](https://github.com/jaydenseric/graphql-react-examples) migration from [Node.js](https://nodejs.org), [Next.js](https://nextjs.org), and [Vercel](https://vercel.com) to [Deno](https://deno.land), [Ruck](https://ruck.tech), and [Fly.io](https://fly.io).

0 commit comments

Comments
 (0)