Skip to content

Commit 3af4b8c

Browse files
refactor: rename files (callstack#1515)
* refactor: rename files to match convention * chore: refactor more * chore: fix tests
1 parent 28c8729 commit 3af4b8c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+70
-70
lines changed

jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module.exports = {
22
preset: './jest-preset',
33
setupFilesAfterEnv: ['./jest-setup.ts'],
44
testPathIgnorePatterns: [
5-
'timerUtils',
5+
'timer-utils',
66
'examples/',
77
'experiments-app/',
88
'experiments-rtl/',

src/__tests__/act.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import * as React from 'react';
22
import { Text } from 'react-native';
33
import act from '../act';
44
import render from '../render';
5-
import fireEvent from '../fireEvent';
5+
import fireEvent from '../fire-event';
66

77
type UseEffectProps = { callback(): void };
88
const UseEffect = ({ callback }: UseEffectProps) => {
File renamed without changes.
File renamed without changes.

src/__tests__/timers.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import waitFor from '../waitFor';
1+
import waitFor from '../wait-for';
22

33
describe.each([false, true])(
44
'fake timers tests (legacyFakeTimers = %s)',
File renamed without changes.

0 commit comments

Comments
 (0)