Skip to content

Commit 5fb7b0c

Browse files
committed
linting
1 parent 9d5ea6a commit 5fb7b0c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/use-subscription/src/__tests__/useSubscription-test.internal.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ describe('useSubscription', () => {
5555
it('handles memo components', () => {
5656
const observable = createBehaviorSubject('start');
5757

58-
function Child({value = 'default', id }) {
58+
function Child({value = 'default', id}) {
5959
React.useEffect(
6060
() => {
6161
Scheduler.unstable_yieldValue(`Commit(${id}): ${value}`);
@@ -79,7 +79,7 @@ describe('useSubscription', () => {
7979
[observable],
8080
),
8181
);
82-
return <Child value={value} id={id}/>;
82+
return <Child value={value} id={id} />;
8383
}
8484
// Change this to see the test pass
8585
const isMemo = true;
@@ -91,7 +91,7 @@ describe('useSubscription', () => {
9191
setCount = _setCount;
9292
return (
9393
<>
94-
<Subbed id="Not Memod"/>
94+
<Subbed id="Not Memod" />
9595
<MemodSubbed id="Memo" />
9696
<Child value={count} id="Child" />
9797
</>
@@ -126,7 +126,7 @@ describe('useSubscription', () => {
126126
expect(Scheduler).toFlushAndYieldThrough([
127127
// Subbed Memo Renders with original value
128128
'Render(Not Memod): start',
129-
...(!isMemo ? [ 'Render(Memo): start'] : []),
129+
...(!isMemo ? ['Render(Memo): start'] : []),
130130
'Render(Child): 123',
131131
'Commit(Child): 123',
132132
]);

0 commit comments

Comments
 (0)