Untuck tests out of __tests__ directories, colocate with program files
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { renderHook, act } from '@testing-library/react-hooks';
|
||||
|
||||
import { listener, mockDisconnect } from '../__mocks__/resize-observer';
|
||||
import { useDimensions } from '../useDimensions';
|
||||
import { listener, mockDisconnect } from './__mocks__/resize-observer';
|
||||
import { useDimensions } from './useDimensions';
|
||||
|
||||
describe('useDimensions()', () => {
|
||||
beforeEach(() => {
|
||||
@@ -3,7 +3,7 @@ import { buildAccount, buildGroup, buildGroupRelationship } from 'soapbox/jest/f
|
||||
import { renderHook, waitFor } from 'soapbox/jest/test-helpers';
|
||||
import { normalizeInstance } from 'soapbox/normalizers';
|
||||
|
||||
import { useGroupsPath } from '../useGroupsPath';
|
||||
import { useGroupsPath } from './useGroupsPath';
|
||||
|
||||
describe('useGroupsPath()', () => {
|
||||
test('without the groupsDiscovery feature', () => {
|
||||
Reference in New Issue
Block a user