Skip to content

Commit 7ab2de0

Browse files
Revert "WS-2610: Renames file to index"
This reverts commit af7e95f.
1 parent af7e95f commit 7ab2de0

4 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/app/hooks/useLivePagePolling/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { ComponentProps } from '#nextjs/pages/[service]/live/[id]/LivePageLayout
33
import useLivePagePolling, { POLLING_INTERVAL } from '.';
44
import fixtureLivePageData from './fixture/fixtureLivePageData';
55
import fixtureLivePageDataUpdate from './fixture/fixtureStreamDataUpdate';
6-
import * as makeRequest from './makeRequest/index';
6+
import * as makeRequest from './makeRequest/makeRequest';
77

88
jest.useFakeTimers();
99

src/app/hooks/useLivePagePolling/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { useEffect, useState } from 'react';
22
import { ComponentProps } from '#nextjs/pages/[service]/live/[id]/LivePageLayout';
3-
import makeRequest from './makeRequest/index';
3+
import makeRequest from './makeRequest/makeRequest';
44

55
export const POLLING_INTERVAL = 15000;
66

src/app/hooks/useLivePagePolling/makeRequest/index.test.ts renamed to src/app/hooks/useLivePagePolling/makeRequest/makeRequest.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import fixtureStreamDataWithFlourish from '../fixture/fixtureStreamDataWithFlourish';
2-
import makeRequest from '.';
2+
import makeRequest from './makeRequest';
33

44
jest.mock('uuid', () => ({
55
v4: jest.fn().mockReturnValue('uniqueId-1234' as string),

src/app/hooks/useLivePagePolling/makeRequest/index.ts renamed to src/app/hooks/useLivePagePolling/makeRequest/makeRequest.ts

File renamed without changes.

0 commit comments

Comments
 (0)